summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/busybox/busybox-1.21.1/su-usr-bin.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-core/busybox/busybox-1.21.1/su-usr-bin.patch')
-rw-r--r--meta/recipes-core/busybox/busybox-1.21.1/su-usr-bin.patch26
1 files changed, 0 insertions, 26 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