diff options
-rw-r--r-- | meta/recipes-extended/shadow/shadow_4.1.4.3.bb | 3 |
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 | ||
120 | ALTERNATIVE_PRIORITY = "200" | 120 | ALTERNATIVE_PRIORITY = "200" |
121 | 121 | ||
122 | ALTERNATIVE_${PN} = "passwd chfn newgrp chsh groups chpasswd login vipw vigr" | 122 | ALTERNATIVE_${PN} = "passwd chfn newgrp chsh groups chpasswd login vipw vigr su" |
123 | ALTERNATIVE_LINK_NAME[chpasswd] = "${sbindir}/chpasswd" | 123 | ALTERNATIVE_LINK_NAME[chpasswd] = "${sbindir}/chpasswd" |
124 | ALTERNATIVE_LINK_NAME[login] = "${base_bindir}/login" | 124 | ALTERNATIVE_LINK_NAME[login] = "${base_bindir}/login" |
125 | ALTERNATIVE_LINK_NAME[vipw] = "${base_sbindir}/vipw" | 125 | ALTERNATIVE_LINK_NAME[vipw] = "${base_sbindir}/vipw" |
126 | ALTERNATIVE_LINK_NAME[vigr] = "${base_sbindir}/vigr" | 126 | ALTERNATIVE_LINK_NAME[vigr] = "${base_sbindir}/vigr" |
127 | ALTERNATIVE_LINK_NAME[su] = "${bindir}/su" | ||
127 | 128 | ||
128 | pkg_postinst_${PN} () { | 129 | pkg_postinst_${PN} () { |
129 | if [ "x$D" != "x" ]; then | 130 | if [ "x$D" != "x" ]; then |