summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/busybox/busybox/stat-usr-bin.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-core/busybox/busybox/stat-usr-bin.patch')
-rw-r--r--meta/recipes-core/busybox/busybox/stat-usr-bin.patch21
1 files changed, 0 insertions, 21 deletions
diff --git a/meta/recipes-core/busybox/busybox/stat-usr-bin.patch b/meta/recipes-core/busybox/busybox/stat-usr-bin.patch
deleted file mode 100644
index 4049324e8b..0000000000
--- a/meta/recipes-core/busybox/busybox/stat-usr-bin.patch
+++ /dev/null
@@ -1,21 +0,0 @@
1busybox: move /bin/stat to /usr/bin/stat to match coreutils
2
3The coreutils stat binary lives in /usr/bin, fix busybox to use the same path so
4they can be properly tracked by alternatives.
5
6Upstream-Status: Inappropriate [embedded]
7Signed-off-by: Andy Ross <andy.ross@windriver.com>
8
9diff --git a/include/applets.src.h b/include/applets.src.h
10index 0d33bfc..30ae3ad 100644
11--- a/include/applets.src.h
12+++ b/include/applets.src.h
13@@ -340,7 +340,7 @@ IF_SOFTLIMIT(APPLET_ODDNAME(softlimit, chpst, BB_DIR_USR_BIN, BB_SUID_DROP, soft
14 IF_SORT(APPLET_NOEXEC(sort, sort, BB_DIR_USR_BIN, BB_SUID_DROP, sort))
15 IF_SPLIT(APPLET(split, BB_DIR_USR_BIN, BB_SUID_DROP))
16 IF_START_STOP_DAEMON(APPLET_ODDNAME(start-stop-daemon, start_stop_daemon, BB_DIR_SBIN, BB_SUID_DROP, start_stop_daemon))
17-IF_STAT(APPLET(stat, BB_DIR_BIN, BB_SUID_DROP))
18+IF_STAT(APPLET(stat, BB_DIR_USR_BIN, BB_SUID_DROP))
19 IF_STRINGS(APPLET(strings, BB_DIR_USR_BIN, BB_SUID_DROP))
20 IF_STTY(APPLET(stty, BB_DIR_BIN, BB_SUID_DROP))
21 /* Needs to be run by root or be suid root - needs to change uid and gid: */