summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended
diff options
context:
space:
mode:
authorAmarnath Valluri <amarnath.valluri@intel.com>2017-01-24 16:07:20 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-03-22 11:35:20 +0000
commit6a2e06e5d4b1d3288de4542a0929426b43fbab12 (patch)
treeb3aedc5a8e77f8d895f2d3e6cdc7f39c6bb5ddda /meta/recipes-extended
parentf808bce13f27e1013b283117621a192c83571919 (diff)
downloadpoky-6a2e06e5d4b1d3288de4542a0929426b43fbab12.tar.gz
util-linux,shadow: Make 'nologin' alternative command
Both shadow and util-linux packages provides 'nologin' binary in ${base_sbindir} and ${sbindir} respectively, this leads to conflict when 'usrmerge' feature is enabled, where ${sbindir} == ${base_sbindir}. Hance, handle this to alternative system to resolve the conflict. (From OE-Core rev: 07d6d0fb4dc689008bb0022d7d2ecc890c9159e5) Signed-off-by: Amarnath Valluri <amarnath.valluri@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended')
-rw-r--r--meta/recipes-extended/shadow/shadow.inc3
1 files changed, 2 insertions, 1 deletions
diff --git a/meta/recipes-extended/shadow/shadow.inc b/meta/recipes-extended/shadow/shadow.inc
index 25283a9741..70ff68ee87 100644
--- a/meta/recipes-extended/shadow/shadow.inc
+++ b/meta/recipes-extended/shadow/shadow.inc
@@ -172,10 +172,11 @@ inherit update-alternatives
172 172
173ALTERNATIVE_PRIORITY = "200" 173ALTERNATIVE_PRIORITY = "200"
174 174
175ALTERNATIVE_${PN} = "passwd chfn chsh chpasswd vipw vigr" 175ALTERNATIVE_${PN} = "passwd chfn chsh chpasswd vipw vigr nologin"
176ALTERNATIVE_LINK_NAME[chpasswd] = "${sbindir}/chpasswd" 176ALTERNATIVE_LINK_NAME[chpasswd] = "${sbindir}/chpasswd"
177ALTERNATIVE_LINK_NAME[vipw] = "${base_sbindir}/vipw" 177ALTERNATIVE_LINK_NAME[vipw] = "${base_sbindir}/vipw"
178ALTERNATIVE_LINK_NAME[vigr] = "${base_sbindir}/vigr" 178ALTERNATIVE_LINK_NAME[vigr] = "${base_sbindir}/vigr"
179ALTERNATIVE_LINK_NAME[nologin] = "${base_sbindir}/nologin"
179 180
180ALTERNATIVE_${PN}-base = "newgrp groups login su" 181ALTERNATIVE_${PN}-base = "newgrp groups login su"
181ALTERNATIVE_LINK_NAME[login] = "${base_bindir}/login" 182ALTERNATIVE_LINK_NAME[login] = "${base_bindir}/login"