[oe] [PATCH 1/2] busybox: enable CONFIG_RUN_PARTS if default.script is to be installed

Eric Bénard eric at eukrea.com
Wed Jan 19 15:57:28 UTC 2011


Signed-off-by: Eric Bénard <eric at eukrea.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() {
-- 
1.6.3.3





More information about the Openembedded-devel mailing list