From: Ross Burton Date: Mon, 5 Jul 2021 17:04:17 +0000 (+0100) Subject: shadow: generate alternative links for chfn and chsh X-Git-Tag: uninative-3.3~299 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=953a91bd258dcb825df3837635ce7561331c049e;p=openembedded-core.git shadow: generate alternative links for chfn and chsh These can be provided by util-linux, so add alternative links for them. Signed-off-by: Ross Burton Signed-off-by: Richard Purdie --- diff --git a/meta/recipes-extended/shadow/shadow.inc b/meta/recipes-extended/shadow/shadow.inc index 2278541f6b..2cbdfbc1cf 100644 --- a/meta/recipes-extended/shadow/shadow.inc +++ b/meta/recipes-extended/shadow/shadow.inc @@ -173,6 +173,8 @@ inherit update-alternatives ALTERNATIVE_PRIORITY = "200" ALTERNATIVE_${PN} = "passwd chfn chsh chpasswd vipw vigr nologin" +ALTERNATIVE_LINK_NAME[chfn] = "${bindir}/chfn" +ALTERNATIVE_LINK_NAME[chsh] = "${bindir}/chsh" ALTERNATIVE_LINK_NAME[chpasswd] = "${sbindir}/chpasswd" ALTERNATIVE_LINK_NAME[vipw] = "${base_sbindir}/vipw" ALTERNATIVE_LINK_NAME[vigr] = "${base_sbindir}/vigr"