summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/shadow
diff options
context:
space:
mode:
authorHongxu Jia <hongxu.jia@windriver.com>2013-09-13 08:06:50 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-09-17 19:34:55 +0100
commita71761e6e6a829f0f3ec08bc52c5b31266823441 (patch)
tree7ce5769624aad73d449c7906e5c47349a2e7bd13 /meta/recipes-extended/shadow
parent44c65db2501e153ab6836736f7b281e8061f1ffa (diff)
downloadpoky-a71761e6e6a829f0f3ec08bc52c5b31266823441.tar.gz
shadow: move su to /bin for lsb command check test
In busybox, util-linux and shadow, su has been moved to /usr/bin/, but lsb cmdchk needs su in /bin. Move su to /bin could fix this issue. [YOCTO#5175] (From OE-Core rev: 464d274e45bb94d9990577d85aa5ad02eb5da99c) Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended/shadow')
-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 31cef20a15..3abb325c3a 100644
--- a/meta/recipes-extended/shadow/shadow_4.1.4.3.bb
+++ b/meta/recipes-extended/shadow/shadow_4.1.4.3.bb
@@ -113,6 +113,7 @@ do_install() {
113 fi 113 fi
114 if [ "${bindir}" != "${base_bindir}" ]; then 114 if [ "${bindir}" != "${base_bindir}" ]; then
115 mv ${D}${bindir}/login ${D}${base_bindir}/login 115 mv ${D}${bindir}/login ${D}${base_bindir}/login
116 mv ${D}${bindir}/su ${D}${base_bindir}/su
116 fi 117 fi
117 118
118 # Handle link properly after rename, otherwise missing files would 119 # Handle link properly after rename, otherwise missing files would
@@ -129,7 +130,7 @@ ALTERNATIVE_LINK_NAME[chpasswd] = "${sbindir}/chpasswd"
129ALTERNATIVE_LINK_NAME[login] = "${base_bindir}/login" 130ALTERNATIVE_LINK_NAME[login] = "${base_bindir}/login"
130ALTERNATIVE_LINK_NAME[vipw] = "${base_sbindir}/vipw" 131ALTERNATIVE_LINK_NAME[vipw] = "${base_sbindir}/vipw"
131ALTERNATIVE_LINK_NAME[vigr] = "${base_sbindir}/vigr" 132ALTERNATIVE_LINK_NAME[vigr] = "${base_sbindir}/vigr"
132ALTERNATIVE_LINK_NAME[su] = "${bindir}/su" 133ALTERNATIVE_LINK_NAME[su] = "${base_bindir}/su"
133 134
134pkg_postinst_${PN} () { 135pkg_postinst_${PN} () {
135 if [ "x$D" != "x" ]; then 136 if [ "x$D" != "x" ]; then