summaryrefslogtreecommitdiffstats
path: root/package/util-linux/util-linux.mk
diff options
context:
space:
mode:
authorGustavo Zacarias <gustavo@zacarias.com.ar>2016-03-28 21:39:56 -0300
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2016-03-29 02:46:31 +0200
commitb71a0176c4ca8952c364aad693136c69a268915f (patch)
treebb229d67f6a3cafb09cfe339d6c73326b0845672 /package/util-linux/util-linux.mk
parentbf8909ee4c7d9d31b8eb4d3c9264fb87d54f6af2 (diff)
downloadbuildroot-b71a0176c4ca8952c364aad693136c69a268915f.tar.gz
buildroot-b71a0176c4ca8952c364aad693136c69a268915f.zip
linux-pam: install login.pam from here
Instead of installing login.pam (/etc/pam.d/login) from util-linux conditionally do so unconditionally from linux-pam. If busybox login is pam-enabled (linux-pam package enabled) it will be required, otherwise it will lead to a system where login won't work, and if util-linux is enabled it will supercede busybox login and will be necesarry regardless. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/util-linux/util-linux.mk')
-rw-r--r--package/util-linux/util-linux.mk2
1 files changed, 0 insertions, 2 deletions
diff --git a/package/util-linux/util-linux.mk b/package/util-linux/util-linux.mk
index 141dffdcd0..a055d177c5 100644
--- a/package/util-linux/util-linux.mk
+++ b/package/util-linux/util-linux.mk
@@ -153,8 +153,6 @@ endif
# Install PAM configuration files
ifeq ($(BR2_PACKAGE_UTIL_LINUX_LOGIN_UTILS),y)
define UTIL_LINUX_INSTALL_PAMFILES
- $(INSTALL) -m 0644 package/util-linux/login.pam \
- $(TARGET_DIR)/etc/pam.d/login
$(INSTALL) -m 0644 package/util-linux/su.pam \
$(TARGET_DIR)/etc/pam.d/su
$(INSTALL) -m 0644 package/util-linux/su.pam \
OpenPOWER on IntegriCloud