diff options
Diffstat (limited to 'meta/recipes-extended/shadow/shadow.inc')
-rw-r--r-- | meta/recipes-extended/shadow/shadow.inc | 19 |
1 files changed, 17 insertions, 2 deletions
diff --git a/meta/recipes-extended/shadow/shadow.inc b/meta/recipes-extended/shadow/shadow.inc index a05ead35b7..7c63d88c70 100644 --- a/meta/recipes-extended/shadow/shadow.inc +++ b/meta/recipes-extended/shadow/shadow.inc | |||
@@ -150,15 +150,30 @@ do_install_append() { | |||
150 | ln -sf newgrp.${BPN} ${D}${bindir}/sg | 150 | ln -sf newgrp.${BPN} ${D}${bindir}/sg |
151 | } | 151 | } |
152 | 152 | ||
153 | PACKAGES =+ "${PN}-base" | ||
154 | FILES_${PN}-base = "\ | ||
155 | ${base_bindir}/login.shadow \ | ||
156 | ${base_bindir}/su.shadow \ | ||
157 | ${bindir}/sg \ | ||
158 | ${bindir}/newgrp.shadow \ | ||
159 | ${bindir}/groups.shadow \ | ||
160 | ${sysconfdir}/pam.d/login \ | ||
161 | ${sysconfdir}/pam.d/su \ | ||
162 | ${sysconfdir}/login.defs \ | ||
163 | " | ||
164 | RDEPENDS_${PN} += "${PN}-base" | ||
165 | |||
153 | inherit update-alternatives | 166 | inherit update-alternatives |
154 | 167 | ||
155 | ALTERNATIVE_PRIORITY = "200" | 168 | ALTERNATIVE_PRIORITY = "200" |
156 | 169 | ||
157 | ALTERNATIVE_${PN} = "passwd chfn newgrp chsh groups chpasswd login vipw vigr su" | 170 | ALTERNATIVE_${PN} = "passwd chfn chsh chpasswd vipw vigr" |
158 | ALTERNATIVE_LINK_NAME[chpasswd] = "${sbindir}/chpasswd" | 171 | ALTERNATIVE_LINK_NAME[chpasswd] = "${sbindir}/chpasswd" |
159 | ALTERNATIVE_LINK_NAME[login] = "${base_bindir}/login" | ||
160 | ALTERNATIVE_LINK_NAME[vipw] = "${base_sbindir}/vipw" | 172 | ALTERNATIVE_LINK_NAME[vipw] = "${base_sbindir}/vipw" |
161 | ALTERNATIVE_LINK_NAME[vigr] = "${base_sbindir}/vigr" | 173 | ALTERNATIVE_LINK_NAME[vigr] = "${base_sbindir}/vigr" |
174 | |||
175 | ALTERNATIVE_${PN}-base = "newgrp groups login su" | ||
176 | ALTERNATIVE_LINK_NAME[login] = "${base_bindir}/login" | ||
162 | ALTERNATIVE_LINK_NAME[su] = "${base_bindir}/su" | 177 | ALTERNATIVE_LINK_NAME[su] = "${base_bindir}/su" |
163 | 178 | ||
164 | ALTERNATIVE_${PN}-doc = "passwd.5 getspnam.3" | 179 | ALTERNATIVE_${PN}-doc = "passwd.5 getspnam.3" |