summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric BENARD <eric@eukrea.com>2011-01-19 23:57:28 +0000
committerEric Bénard <eric@eukrea.com>2011-01-19 21:00:24 +0100
commit5f00e31e8526d36bc594e8a46ecf8e4ecce1fbfb (patch)
treeff6c4d824168e05d3ff8b8fe765776872e4645e8
parentfb36a895a080c235bf797264cfcd04bffa820e1b (diff)
downloadopenembedded-5f00e31e8526d36bc594e8a46ecf8e4ecce1fbfb.tar.gz
busybox: enable CONFIG_RUN_PARTS if default.script is to be installed
Signed-off-by: Eric Bénard <eric@eukrea.com> Acked-by: Khem Raj <raj.khem@gmail.com> Acked-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
-rw-r--r--recipes/busybox/busybox_1.1x.inc3
1 files changed, 3 insertions, 0 deletions
diff --git a/recipes/busybox/busybox_1.1x.inc b/recipes/busybox/busybox_1.1x.inc
index 4dbc3d94a6..1078aac2fd 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() {