package/util-linux: create $(TARGET_DIR)/etc/pam.d if necessary
PATCH 1/1 package/util-linux: create $(TARGET_DIR)/etc/pam.d if necessary
From: Carlos Santos <[email protected]>
Useful for test purposes when we want to install util-linux with a custom TARGET_DIR, e.g.
$ make util-linux-reinstall TARGET_DIR=/tmp/util-linux
--- package/util-linux/util-linux.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
package/util-linux/util-linux.mk +1 -1
@@ -236,7 +236,7 @@ endif # Install PAM configuration files ifeq ($(BR2_PACKAGE_UTIL_LINUX_SU)$(BR2_PACKAGE_LINUX_PAM),yy) define UTIL_LINUX_INSTALL_PAMFILES - $(INSTALL) -m 0644 package/util-linux/su.pam \ + $(INSTALL) -D -m 0644 package/util-linux/su.pam \ $(TARGET_DIR)/etc/pam.d/su $(INSTALL) -m 0644 package/util-linux/su.pam \ $(TARGET_DIR)/etc/pam.d/su-l
Signature · 1 line
2.18.1
PATCH 1/1 package/util-linux: create $(TARGET_DIR)/etc/pam.d if necessary
Quoted 11 lines · On Sat, 14 Sep 2019 13:41:43 -0300 unixmania at gmail.com wrote:
From: Carlos Santos <[email protected]>
Useful for test purposes when we want to install util-linux with a custom
TARGET_DIR, e.g.$ make util-linux-reinstall TARGET_DIR=/tmp/util-linuxSigned-off-by Carlos Santos <[email protected]>--- package/util-linux/util-linux.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Even if not strictly needed, I have changed the second $(INSTALL) invocation to also pass -D, and applied. Thanks!
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com
PATCH 1/1 package/util-linux: create $(TARGET_DIR)/etc/pam.d if necessary
In reply to unixmania at gmail.comQuoted 9 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"unixmania" == unixmania <[email protected]> writes:
From: Carlos Santos <[email protected]>
Useful for test purposes when we want to install util-linux with a customTARGET_DIR, e.g.$ make util-linux-reinstall TARGET_DIR=/tmp/util-linuxSigned-off-by Carlos Santos <[email protected]>
Committed to 2019.02.x, 2019.05.x and 2019.08.x, thanks.
Signature · 1 line
Bye, Peter Korsgaard