[oe-commits] Eric BENARD : busybox: enable CONFIG_RUN_PARTS if default. script is to be installed

git version control git at git.openembedded.org
Wed Jan 19 20:04:33 UTC 2011


Module: openembedded.git
Branch: org.openembedded.dev
Commit: 5f00e31e8526d36bc594e8a46ecf8e4ecce1fbfb
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=5f00e31e8526d36bc594e8a46ecf8e4ecce1fbfb

Author: Eric BENARD <eric at eukrea.com>
Date:   Wed Jan 19 23:57:28 2011 +0000

busybox: enable CONFIG_RUN_PARTS if default.script is to be installed

Signed-off-by: Eric Bénard <eric at eukrea.com>
Acked-by: Khem Raj <raj.khem at gmail.com>
Acked-by: Frans Meulenbroeks <fransmeulenbroeks at gmail.com>

---

 recipes/busybox/busybox_1.1x.inc |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/recipes/busybox/busybox_1.1x.inc b/recipes/busybox/busybox_1.1x.inc
index 4dbc3d9..1078aac 100644
--- a/recipes/busybox/busybox_1.1x.inc
+++ b/recipes/busybox/busybox_1.1x.inc
@@ -34,6 +34,9 @@ do_configure_prepend () {
 	if [ "${TARGET_ARCH}" = "avr32" ] ; then
 		sed -i s:CONFIG_FEATURE_OSF_LABEL=y:CONFIG_FEATURE_OSF_LABEL=n: ${WORKDIR}/defconfig
 	fi
+        if [ -e ${WORKDIR}/default.script ]; then
+		echo "CONFIG_RUN_PARTS=y"                    >> ${WORKDIR}/defconfig
+        fi
 }
 
 do_install_append() {





More information about the Openembedded-commits mailing list