summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/busybox/busybox-1.21.1/run-parts.in.usr-bin.patch
diff options
context:
space:
mode:
authorChen Qi <Qi.Chen@windriver.com>2013-11-29 20:15:45 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-11-30 22:26:27 +0000
commit3c182d22080e27ecdaf7a04e28caa84fafec5395 (patch)
tree141b046b2782177868126e1e25792ef35c34c498 /meta/recipes-core/busybox/busybox-1.21.1/run-parts.in.usr-bin.patch
parentef71b02844eb2c286803af12ccd551d6776f211e (diff)
downloadpoky-3c182d22080e27ecdaf7a04e28caa84fafec5395.tar.gz
busybox: add busybox_git.bb recipe
Add busybox_git.bb recipe so that it would be easier to hack with busybox. Set DEFAULT_PREFERENCE to "-1" in the git recipe so that we still use the busybox_1.21.1.bb recipe by default. (From OE-Core rev: d290bbe6d9826fbcfa2e0a7624886284697ed7eb) Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core/busybox/busybox-1.21.1/run-parts.in.usr-bin.patch')
-rw-r--r--meta/recipes-core/busybox/busybox-1.21.1/run-parts.in.usr-bin.patch29
1 files changed, 0 insertions, 29 deletions
diff --git a/meta/recipes-core/busybox/busybox-1.21.1/run-parts.in.usr-bin.patch b/meta/recipes-core/busybox/busybox-1.21.1/run-parts.in.usr-bin.patch
deleted file mode 100644
index 45f69a937c..0000000000
--- a/meta/recipes-core/busybox/busybox-1.21.1/run-parts.in.usr-bin.patch
+++ /dev/null
@@ -1,29 +0,0 @@
1Upstream-Status: Inappropriate [configuration]
2
3# copy commit message from OE as the patch comment:
4# commit f1b326c83be0d95571b991d8d2ee239982380b6b
5# Author: Martin Jansa <Martin.Jansa@gmail.com>
6# Date: Fri Apr 30 15:37:38 2010 +0200
7#
8# busybox: add patch for installing run-parts to /usr/bin/ instead of /bin
9#
10# * otherwise debianutils install will fail with
11# update-alternatives: Error: cannot register alternative run-parts to /usr/bin/run-parts since it is
12#
13# Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
14#
15# Poky doesn't have debianutils, but let's keep it for safety
16# above comment added by Kevin Tian <kevin.tian@intel.com>, 2010-07-06
17
18diff -uNr busybox-1.15.3.orig//include/applets.src.h busybox-1.15.3/include/applets.src.h
19--- busybox-1.15.3.orig//include/applets.src.h 2009-12-12 22:13:28.000000000 +0100
20+++ busybox-1.15.3/include/applets.src.h 2010-04-30 15:35:40.000000000 +0200
21@@ -304,7 +304,7 @@
22 IF_RPM(APPLET(rpm, BB_DIR_BIN, BB_SUID_DROP))
23 IF_RPM2CPIO(APPLET(rpm2cpio, BB_DIR_USR_BIN, BB_SUID_DROP))
24 IF_RTCWAKE(APPLET(rtcwake, BB_DIR_USR_SBIN, BB_SUID_DROP))
25-IF_RUN_PARTS(APPLET_ODDNAME(run-parts, run_parts, BB_DIR_BIN, BB_SUID_DROP, run_parts))
26+IF_RUN_PARTS(APPLET_ODDNAME(run-parts, run_parts, BB_DIR_USR_BIN, BB_SUID_DROP, run_parts))
27 IF_RUNCON(APPLET(runcon, BB_DIR_USR_BIN, BB_SUID_DROP))
28 IF_RUNLEVEL(APPLET(runlevel, BB_DIR_SBIN, BB_SUID_DROP))
29 IF_RUNSV(APPLET(runsv, BB_DIR_USR_BIN, _BB_SUID_DROP))