diff options
author | David-John Willis <John.Willis@Distant-earth.com> | 2010-01-26 17:58:41 +0000 |
---|---|---|
committer | Chris Larson <clarson@mvista.com> | 2010-01-26 11:04:05 -0700 |
commit | 098977942b9ca2ac472c80d9018635c9e0957d55 (patch) | |
tree | 1b84e797854db19eb54d8fb60ea796baaa4428e5 /recipes | |
parent | bd9974f817640328299502c691cc2b07c0add88c (diff) |
shadow: Fix issue that stopped shadow.inc from packaging /usr/bin/passwd correctly and bump INC_PR.
Signed-off-by: Chris Larson <clarson@mvista.com>
Diffstat (limited to 'recipes')
-rw-r--r-- | recipes/shadow/shadow.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/recipes/shadow/shadow.inc b/recipes/shadow/shadow.inc index 68381f0130..9da5845012 100644 --- a/recipes/shadow/shadow.inc +++ b/recipes/shadow/shadow.inc @@ -11,7 +11,7 @@ LICENSE = "BSD" SECTION = "base" DEPENDS += "${@base_contains('DISTRO_FEATURES', 'pam', 'libpam', '', d)}" -INC_PR = "r8" +INC_PR = "r9" # Additional Policy files for PAM PAM_SRC_URI = " \ @@ -79,8 +79,8 @@ do_install_append() { sed -i 's/MAIL_DIR/#MAIL_DIR/g' ${D}${sysconfdir}/login.defs sed -i 's/#MAIL_FILE/MAIL_FILE/g' ${D}${sysconfdir}/login.defs + mv ${D}${bindir}/passwd ${D}${bindir}/passwd.${PN} mv ${D}${sbindir}/chpasswd ${D}${sbindir}/chpasswd.${PN} - mv ${D}${bindir}/passwd ${D}${bindir}/chpasswd.${PN} # Ensure we add a suitable securetty file to the package that has most common embedded TTYs defined. install -m 0400 ${WORKDIR}/securetty ${D}${sysconfdir}/securetty |