aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/shadow/shadow_4.1.4.2.bb
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2010-01-17 18:44:36 +0100
committerKoen Kooi <koen@openembedded.org>2010-01-18 05:25:52 +0100
commit8b6d84221426d0b5cb54b8877dd0f70e796a3811 (patch)
tree8396a64f58376d1d4505e8af8c789fe9fb394d7d /recipes/shadow/shadow_4.1.4.2.bb
parent7d25400166cb647b78361d5161fd671c6d859a1d (diff)
downloadopenembedded-8b6d84221426d0b5cb54b8877dd0f70e796a3811.tar.gz
shadow: try to fix serial-login issue
Diffstat (limited to 'recipes/shadow/shadow_4.1.4.2.bb')
-rw-r--r--recipes/shadow/shadow_4.1.4.2.bb5
1 files changed, 4 insertions, 1 deletions
diff --git a/recipes/shadow/shadow_4.1.4.2.bb b/recipes/shadow/shadow_4.1.4.2.bb
index 04887a01d1..7f6402358c 100644
--- a/recipes/shadow/shadow_4.1.4.2.bb
+++ b/recipes/shadow/shadow_4.1.4.2.bb
@@ -4,7 +4,7 @@ LICENSE = "GPL"
DEPEND = "libpam"
RDEPEND = "${DEPEND}"
-PR = "r5"
+PR = "r6"
EXTRA_OECONF += " --enable-shared --enable-static --with-libpam --without-libcrack"
@@ -24,6 +24,7 @@ SRC_URI_append = " \
file://pam.d/newusers \
file://pam.d/passwd \
file://pam.d/su \
+ file://securetty \
"
S = "${WORKDIR}/shadow-${PV}"
@@ -49,4 +50,6 @@ do_install_append() {
# The system MDA will set this later anyway.
sed -i 's/MAIL_DIR/#MAIL_DIR/g' ${D}${sysconfdir}/login.defs
sed -i 's/#MAIL_FILE/MAIL_FILE/g' ${D}${sysconfdir}/login.defs
+
+ install -m 0644 ${WORKDIR}/securetty ${D}${sysconfdir}/securetty
}