diff options
author | Koen Kooi <koen@openembedded.org> | 2010-01-17 18:44:36 +0100 |
---|---|---|
committer | Koen Kooi <koen@openembedded.org> | 2010-01-18 05:25:52 +0100 |
commit | 8b6d84221426d0b5cb54b8877dd0f70e796a3811 (patch) | |
tree | 8396a64f58376d1d4505e8af8c789fe9fb394d7d /recipes/shadow/shadow_4.1.4.2.bb | |
parent | 7d25400166cb647b78361d5161fd671c6d859a1d (diff) | |
download | openembedded-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.bb | 5 |
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 } |