summaryrefslogtreecommitdiff
path: root/recipes/shadow
diff options
context:
space:
mode:
authorGraeme Gregory <dp@xora.org.uk>2010-01-26 19:25:42 +0000
committerGraeme Gregory <dp@xora.org.uk>2010-01-26 19:25:42 +0000
commit5e5fbbfe7c0e2bd62402e23721c9230d36a5be78 (patch)
treedbcc1e9c8dff75c925d75dbedb37b5a0da9af81f /recipes/shadow
parentfe3e3734ae3ebd595b3fdaf0a72c2403bb73441a (diff)
parent26c2c80c044bd9a98d6b2bc31cb1e0e991b33b08 (diff)
Merge branch 'org.openembedded.dev' of git+ssh://git.openembedded.org/openembedded into org.openembedded.dev
Diffstat (limited to 'recipes/shadow')
-rw-r--r--recipes/shadow/shadow.inc4
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