Skip to contentSkip to conversation

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

PATCH In review Eric Bénard 3 participants 6 messages Jan 19, 2011

lore
Share & tools
lore
#0 lore raw

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

---
 recipes/busybox/busybox_1.1x.inc |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
recipes/busybox/busybox_1.1x.inc +3 -0
index 4dbc3d9..1078aac 100644
@@ -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() {
Signature · 1 line
1.6.3.3
#1 lore raw

PATCH 2/2 busybox-1.18.2: add latest fixes

- hush: fix "cmd & <newline>" problem
98c46d10ee81f206f274da312086a3f0533582af

- disable automatic selection of FEATURE_SUID
3b5acaa4323bd165077e60098af94ad9750d62fd

---
 recipes/busybox/busybox_1.18.2.bb |    8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)
recipes/busybox/busybox_1.18.2.bb +7 -1
index 71b50c8..e6d17d3 100644
@@ -1,11 +1,17 @@
 require busybox_1.1x.inc
-PR = "${INC_PR}.1"
+PR = "${INC_PR}.2"
 
 SRC_URI += " \
 	http://busybox.net/downloads/fixes-1.18.2/busybox-1.18.2-modprobe-small.patch;name=patch01 \
+	http://busybox.net/downloads/fixes-1.18.2/busybox-1.18.2-buildsys.patch;name=patch02 \
+	http://busybox.net/downloads/fixes-1.18.2/busybox-1.18.2-hush.patch;name=patch03 \
 	"
 
 SRC_URI[md5sum] = "69a82091e5710b72db5ce0e14e7c0cd7"
 SRC_URI[sha256sum] = "aa7e1cec8cd9c7f4e56098b9e4bb2ab5d593d5a35f766ad9e6a312289bf57080"
 SRC_URI[patch01.md5sum] = "dda72eaf33d19d6a0ac78e46e9411cfd"
 SRC_URI[patch01.sha256sum] = "ed5d83040414d035138bf484ccd514817342b143baff43ffff6ba556952de7ed"
+SRC_URI[patch02.md5sum] = "c7ae920c8adb767fc35b3a8ca3ad7351"
+SRC_URI[patch02.sha256sum] = "d9398bc5e65b7eff261f20526b6e07d61bef64dd978c92e6317334bfaa135938"
+SRC_URI[patch03.md5sum] = "854045f4b713df759b49945550843acf"
+SRC_URI[patch03.sha256sum] = "b70c4406307942f38b2c8d94675b7ca7db8ba0351ae916f838d04856b5aad33f"
Signature · 1 line
1.6.3.3
Acked-by on v1 2/2
#2 lore raw

Re: [PATCH 2/2] busybox-1.18.2: add latest fixes

Quoted 7 lines · Eric Bénard

- hush: fix "cmd & <newline>" problem
98c46d10ee81f206f274da312086a3f0533582af

- disable automatic selection of FEATURE_SUID
3b5acaa4323bd165077e60098af94ad9750d62fd

Quoted 36 lines

---
 recipes/busybox/busybox_1.18.2.bb |    8 +++++++-

 1 files changed, 7 insertions(+), 1 deletions(-)
recipes/busybox/busybox_1.18.2.bb +0 -0
index 71b50c8..e6d17d3 100644
@@ -1,11 +1,17 @@

 require busybox_1.1x.inc

recipes/busybox/busybox_1.18.2.bb +1 -1
-PR = "${INC_PR}.1"
+PR = "${INC_PR}.2"

 SRC_URI += " \
       http://busybox.net/downloads/fixes-1.18.2/busybox-1.18.2-modprobe-small.patch;name=patch01 \
+       http://busybox.net/downloads/fixes-1.18.2/busybox-1.18.2-buildsys.patch;name=patch02 \
+       http://busybox.net/downloads/fixes-1.18.2/busybox-1.18.2-hush.patch;name=patch03 \
       "

 SRC_URI[md5sum] = "69a82091e5710b72db5ce0e14e7c0cd7"
 SRC_URI[sha256sum] = "aa7e1cec8cd9c7f4e56098b9e4bb2ab5d593d5a35f766ad9e6a312289bf57080" SRC_URI[patch01.md5sum] = "dda72eaf33d19d6a0ac78e46e9411cfd" SRC_URI[patch01.sha256sum] = "ed5d83040414d035138bf484ccd514817342b143baff43ffff6ba556952de7ed"

recipes/busybox/busybox_1.18.2.bb +4 -1
+SRC_URI[patch02.md5sum] = "c7ae920c8adb767fc35b3a8ca3ad7351"
+SRC_URI[patch02.sha256sum] = "d9398bc5e65b7eff261f20526b6e07d61bef64dd978c92e6317334bfaa135938"
+SRC_URI[patch03.md5sum] = "854045f4b713df759b49945550843acf"
+SRC_URI[patch03.sha256sum] = "b70c4406307942f38b2c8d94675b7ca7db8ba0351ae916f838d04856b5aad33f"
--

1.6.3.3

_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel

Acked-by on v1 1/2
#3 lore raw
In reply to Eric Bénard
Quoted 1 line · Eric Bénard

Looks ok.

Quoted 27 lines

---
 recipes/busybox/busybox_1.1x.inc |    3 +++

 1 files changed, 3 insertions(+), 0 deletions(-)
recipes/busybox/busybox_1.1x.inc +0 -0
index 4dbc3d9..1078aac 100644
@@ -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

_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel

#4 lore raw

2011/1/19 Khem Raj <[email protected]>:

Quoted 6 lines · Eric Bénard
Quoted 1 line

Looks ok.

Would this need an INC_PR bump?
Otherwise:

Quoted 34 lines
Quoted 23 lines

---
 recipes/busybox/busybox_1.1x.inc |    3 +++

 1 files changed, 3 insertions(+), 0 deletions(-)
recipes/busybox/busybox_1.1x.inc +0 -0
index 4dbc3d9..1078aac 100644
@@ -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

Quoted 5 lines

_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel

_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel