summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/recipes-extended/shadow/shadow_4.1.4.3.bb3
1 files changed, 2 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 caf24c06af..173da3b0f0 100644
--- a/meta/recipes-extended/shadow/shadow_4.1.4.3.bb
+++ b/meta/recipes-extended/shadow/shadow_4.1.4.3.bb
@@ -119,11 +119,12 @@ inherit update-alternatives
119 119
120ALTERNATIVE_PRIORITY = "200" 120ALTERNATIVE_PRIORITY = "200"
121 121
122ALTERNATIVE_${PN} = "passwd chfn newgrp chsh groups chpasswd login vipw vigr" 122ALTERNATIVE_${PN} = "passwd chfn newgrp chsh groups chpasswd login vipw vigr su"
123ALTERNATIVE_LINK_NAME[chpasswd] = "${sbindir}/chpasswd" 123ALTERNATIVE_LINK_NAME[chpasswd] = "${sbindir}/chpasswd"
124ALTERNATIVE_LINK_NAME[login] = "${base_bindir}/login" 124ALTERNATIVE_LINK_NAME[login] = "${base_bindir}/login"
125ALTERNATIVE_LINK_NAME[vipw] = "${base_sbindir}/vipw" 125ALTERNATIVE_LINK_NAME[vipw] = "${base_sbindir}/vipw"
126ALTERNATIVE_LINK_NAME[vigr] = "${base_sbindir}/vigr" 126ALTERNATIVE_LINK_NAME[vigr] = "${base_sbindir}/vigr"
127ALTERNATIVE_LINK_NAME[su] = "${bindir}/su"
127 128
128pkg_postinst_${PN} () { 129pkg_postinst_${PN} () {
129 if [ "x$D" != "x" ]; then 130 if [ "x$D" != "x" ]; then