summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorHongxu Jia <hongxu.jia@windriver.com>2013-09-13 08:06:08 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-09-17 19:34:54 +0100
commit44c65db2501e153ab6836736f7b281e8061f1ffa (patch)
treeb57faa70ecbb1acad26115388c4ea553c64a5005 /meta
parentbb939628ecbc8e794f214e4688f7621c80fed182 (diff)
downloadpoky-44c65db2501e153ab6836736f7b281e8061f1ffa.tar.gz
busybox: 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: daff19fe6f0490dc7036602e8b0ca40a23b55556) 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')
-rw-r--r--meta/recipes-core/busybox/busybox-1.21.1/su-usr-bin.patch26
-rw-r--r--meta/recipes-core/busybox/busybox_1.21.1.bb1
2 files changed, 0 insertions, 27 deletions
diff --git a/meta/recipes-core/busybox/busybox-1.21.1/su-usr-bin.patch b/meta/recipes-core/busybox/busybox-1.21.1/su-usr-bin.patch
deleted file mode 100644
index 0d5b55842a..0000000000
--- a/meta/recipes-core/busybox/busybox-1.21.1/su-usr-bin.patch
+++ /dev/null
@@ -1,26 +0,0 @@
1busybox: move /bin/su to /usr/bin/su to match util-linux and shadow
2
3Both of util-linux and shadow have su binary in /usr/bin, fix busybox
4to use the same path so they can be properly tracked by alternatives.
5
6Upstream-Status: Inappropriate [embedded]
7Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
8---
9 include/applets.src.h | 2 +-
10 1 file changed, 1 insertion(+), 1 deletion(-)
11
12diff --git a/include/applets.src.h b/include/applets.src.h
13--- a/include/applets.src.h
14+++ b/include/applets.src.h
15@@ -349,7 +349,7 @@ IF_STAT(APPLET(stat, BB_DIR_USR_BIN, BB_SUID_DROP))
16 IF_STRINGS(APPLET(strings, BB_DIR_USR_BIN, BB_SUID_DROP))
17 IF_STTY(APPLET(stty, BB_DIR_BIN, BB_SUID_DROP))
18 /* Needs to be run by root or be suid root - needs to change uid and gid: */
19-IF_SU(APPLET(su, BB_DIR_BIN, BB_SUID_REQUIRE))
20+IF_SU(APPLET(su, BB_DIR_USR_BIN, BB_SUID_REQUIRE))
21 IF_SULOGIN(APPLET(sulogin, BB_DIR_SBIN, BB_SUID_DROP))
22 IF_SUM(APPLET(sum, BB_DIR_USR_BIN, BB_SUID_DROP))
23 IF_SV(APPLET(sv, BB_DIR_USR_BIN, BB_SUID_DROP))
24--
251.8.1.2
26
diff --git a/meta/recipes-core/busybox/busybox_1.21.1.bb b/meta/recipes-core/busybox/busybox_1.21.1.bb
index f766beec03..5c0527397e 100644
--- a/meta/recipes-core/busybox/busybox_1.21.1.bb
+++ b/meta/recipes-core/busybox/busybox_1.21.1.bb
@@ -24,7 +24,6 @@ SRC_URI = "http://www.busybox.net/downloads/busybox-${PV}.tar.bz2;name=tarball \
24 file://umount.busybox \ 24 file://umount.busybox \
25 file://defconfig \ 25 file://defconfig \
26 file://stat-usr-bin.patch \ 26 file://stat-usr-bin.patch \
27 file://su-usr-bin.patch \
28 file://busybox-syslog.service.in \ 27 file://busybox-syslog.service.in \
29 file://busybox-klogd.service.in \ 28 file://busybox-klogd.service.in \
30 file://testsuite-du-du-k-works-fix-false-positive.patch \ 29 file://testsuite-du-du-k-works-fix-false-positive.patch \