summaryrefslogtreecommitdiffstats
path: root/meta/packages/busybox/busybox-1.16.2/run-parts.in.usr-bin.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/packages/busybox/busybox-1.16.2/run-parts.in.usr-bin.patch')
-rw-r--r--meta/packages/busybox/busybox-1.16.2/run-parts.in.usr-bin.patch27
1 files changed, 27 insertions, 0 deletions
diff --git a/meta/packages/busybox/busybox-1.16.2/run-parts.in.usr-bin.patch b/meta/packages/busybox/busybox-1.16.2/run-parts.in.usr-bin.patch
new file mode 100644
index 0000000000..bedb974432
--- /dev/null
+++ b/meta/packages/busybox/busybox-1.16.2/run-parts.in.usr-bin.patch
@@ -0,0 +1,27 @@
1# copy commit message from OE as the patch comment:
2# commit f1b326c83be0d95571b991d8d2ee239982380b6b
3# Author: Martin Jansa <Martin.Jansa@gmail.com>
4# Date: Fri Apr 30 15:37:38 2010 +0200
5#
6# busybox: add patch for installing run-parts to /usr/bin/ instead of /bin
7#
8# * otherwise debianutils install will fail with
9# update-alternatives: Error: cannot register alternative run-parts to /usr/bin/run-parts since it is
10#
11# Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
12#
13# Poky doesn't have debianutils, but let's keep it for safety
14# above comment added by Kevin Tian <kevin.tian@intel.com>, 2010-07-06
15
16diff -uNr busybox-1.15.3.orig//include/applets.h busybox-1.15.3/include/applets.h
17--- busybox-1.15.3.orig//include/applets.h 2009-12-12 22:13:28.000000000 +0100
18+++ busybox-1.15.3/include/applets.h 2010-04-30 15:35:40.000000000 +0200
19@@ -323,7 +323,7 @@
20 IF_RPM(APPLET(rpm, _BB_DIR_BIN, _BB_SUID_DROP))
21 IF_RPM2CPIO(APPLET(rpm2cpio, _BB_DIR_USR_BIN, _BB_SUID_DROP))
22 IF_RTCWAKE(APPLET(rtcwake, _BB_DIR_USR_BIN, _BB_SUID_DROP))
23-IF_RUN_PARTS(APPLET_ODDNAME(run-parts, run_parts, _BB_DIR_BIN, _BB_SUID_DROP, run_parts))
24+IF_RUN_PARTS(APPLET_ODDNAME(run-parts, run_parts, _BB_DIR_USR_BIN, _BB_SUID_DROP, run_parts))
25 IF_RUNCON(APPLET(runcon, _BB_DIR_USR_BIN, _BB_SUID_DROP))
26 IF_RUNLEVEL(APPLET(runlevel, _BB_DIR_SBIN, _BB_SUID_DROP))
27 IF_RUNSV(APPLET(runsv, _BB_DIR_USR_BIN, _BB_SUID_DROP))