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

login
register
mail settings
Submitter Eric BENARD
Date Jan. 19, 2011, 3:57 p.m.
Message ID <1295452649-28081-1-git-send-email-eric@eukrea.com>
Download mbox | patch
Permalink /patch/320/
State Accepted
Headers show

Comments

Eric BENARD - Jan. 19, 2011, 3:57 p.m.
Signed-off-by: Eric Bénard <eric@eukrea.com>
---
 recipes/busybox/busybox_1.1x.inc |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
Khem Raj - Jan. 19, 2011, 6:04 p.m.
On Wed, Jan 19, 2011 at 7:57 AM, Eric Bénard <eric@eukrea.com> wrote:
> Signed-off-by: Eric Bénard <eric@eukrea.com>

Looks ok.

Acked-by: Khem Raj <raj.khem@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() {
> --
> 1.6.3.3
>
>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
>
Frans Meulenbroeks - Jan. 19, 2011, 6:56 p.m.
2011/1/19 Khem Raj <raj.khem@gmail.com>:
> On Wed, Jan 19, 2011 at 7:57 AM, Eric Bénard <eric@eukrea.com> wrote:
>> Signed-off-by: Eric Bénard <eric@eukrea.com>
>
> Looks ok.
>
> Acked-by: Khem Raj <raj.khem@gmail.com>

Would this need an INC_PR bump?
Otherwise:
Acked-by: Frans Meulenbroeks <fransmeulenbroeks@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() {
>> --
>> 1.6.3.3
>>
>>
>> _______________________________________________
>> Openembedded-devel mailing list
>> Openembedded-devel@lists.openembedded.org
>> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
>>
>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
>
Eric BENARD - Jan. 19, 2011, 7:57 p.m.
On 19/01/2011 19:56, Frans Meulenbroeks wrote:
> 2011/1/19 Khem Raj<raj.khem@gmail.com>:
>> On Wed, Jan 19, 2011 at 7:57 AM, Eric Bénard<eric@eukrea.com>  wrote:
>>> Signed-off-by: Eric Bénard<eric@eukrea.com>
>>
>> Looks ok.
>>
>> Acked-by: Khem Raj<raj.khem@gmail.com>
>
> Would this need an INC_PR bump?
defconfig in the tree already have CONFIG_RUN_PARTS=y so existing packages 
won't get any change with that patch.

Eric

Patch

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() {