summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/shadow/shadow_4.1.4.3.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-extended/shadow/shadow_4.1.4.3.bb')
-rw-r--r--meta/recipes-extended/shadow/shadow_4.1.4.3.bb7
1 files changed, 6 insertions, 1 deletions
diff --git a/meta/recipes-extended/shadow/shadow_4.1.4.3.bb b/meta/recipes-extended/shadow/shadow_4.1.4.3.bb
index 728b8e5b20..5bc4a6183e 100644
--- a/meta/recipes-extended/shadow/shadow_4.1.4.3.bb
+++ b/meta/recipes-extended/shadow/shadow_4.1.4.3.bb
@@ -9,7 +9,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=08c553a87d4e51bbed50b20e0adcaede \
9 9
10DEPENDS = "${@base_contains('DISTRO_FEATURES', 'pam', 'libpam', '', d)}" 10DEPENDS = "${@base_contains('DISTRO_FEATURES', 'pam', 'libpam', '', d)}"
11RDEPENDS_${PN} = "${@base_contains('DISTRO_FEATURES', 'pam', '${PAM_PLUGINS}', '', d)}" 11RDEPENDS_${PN} = "${@base_contains('DISTRO_FEATURES', 'pam', '${PAM_PLUGINS}', '', d)}"
12PR = "r3" 12PR = "r4"
13 13
14SRC_URI = "http://pkg-shadow.alioth.debian.org/releases/${BPN}-${PV}.tar.bz2 \ 14SRC_URI = "http://pkg-shadow.alioth.debian.org/releases/${BPN}-${PV}.tar.bz2 \
15 file://login_defs_pam.sed \ 15 file://login_defs_pam.sed \
@@ -97,6 +97,11 @@ do_install_append() {
97 mv ${D}${sbindir}/vipw ${D}${base_sbindir}/vipw.${PN} 97 mv ${D}${sbindir}/vipw ${D}${base_sbindir}/vipw.${PN}
98 mv ${D}${bindir}/login ${D}${base_bindir}/login.${PN} 98 mv ${D}${bindir}/login ${D}${base_bindir}/login.${PN}
99 99
100 # Handle link properly after rename, otherwise missing files would
101 # lead rpm failed dependencies.
102 ln -sf vipw.${PN} ${D}${base_sbindir}/vigr.${PN}
103 ln -sf newgrp.${PN} ${D}${bindir}/sg
104
100 # Ensure we add a suitable securetty file to the package that has 105 # Ensure we add a suitable securetty file to the package that has
101 # most common embedded TTYs defined. 106 # most common embedded TTYs defined.
102 if [ ! -z "${SERIAL_CONSOLE}" ]; then 107 if [ ! -z "${SERIAL_CONSOLE}" ]; then