Patchwork busybox: don't create /etc/default

login
register
mail settings
Submitter Andreas Oberritter
Date Feb. 16, 2012, 2:08 a.m.
Message ID <1329358121-1366-1-git-send-email-obi@opendreambox.org>
Download mbox | patch
Permalink /patch/21339/
State Accepted
Commit cd59c2fcefa6aeacf78a63c5c9a623a4d77c0941
Headers show

Comments

Andreas Oberritter - Feb. 16, 2012, 2:08 a.m.
* It's not used by the recipe and its creation
  currently depends on CONFIG_HWCLOCK=y.

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
---
 meta/recipes-core/busybox/busybox.inc       |    1 -
 meta/recipes-core/busybox/busybox_1.19.3.bb |    2 +-
 2 files changed, 1 insertions(+), 2 deletions(-)
Otavio Salvador - Feb. 16, 2012, 10:12 a.m.
Acked-by: Otavio Salvador <otavio@ossystems.com.br>

On Thu, Feb 16, 2012 at 00:08, Andreas Oberritter <obi@opendreambox.org>wrote:

> * It's not used by the recipe and its creation
>  currently depends on CONFIG_HWCLOCK=y.
>
> Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
> ---
>  meta/recipes-core/busybox/busybox.inc       |    1 -
>  meta/recipes-core/busybox/busybox_1.19.3.bb |    2 +-
>  2 files changed, 1 insertions(+), 2 deletions(-)
>
> diff --git a/meta/recipes-core/busybox/busybox.inc
> b/meta/recipes-core/busybox/busybox.inc
> index 5fb436e..fc69d65 100644
> --- a/meta/recipes-core/busybox/busybox.inc
> +++ b/meta/recipes-core/busybox/busybox.inc
> @@ -179,7 +179,6 @@ do_install () {
>                install -m 0755 ${WORKDIR}/busybox-udhcpd
> ${D}${sysconfdir}/init.d/
>        fi
>        if grep "CONFIG_HWCLOCK=y" ${WORKDIR}/defconfig; then
> -               install -d ${D}${sysconfdir}/default
>                install -m 0755 ${WORKDIR}/hwclock.sh
> ${D}${sysconfdir}/init.d/
>        fi
>        if grep "CONFIG_UDHCPC=y" ${WORKDIR}/defconfig; then
> diff --git a/meta/recipes-core/busybox/busybox_1.19.3.bbb/meta/recipes-core/busybox/
> busybox_1.19.3.bb
> index a075407..45e284f 100644
> --- a/meta/recipes-core/busybox/busybox_1.19.3.bb
> +++ b/meta/recipes-core/busybox/busybox_1.19.3.bb
> @@ -1,5 +1,5 @@
>  require busybox.inc
> -PR = "r3"
> +PR = "r4"
>
>  SRC_URI = "
> http://www.busybox.net/downloads/busybox-${PV}.tar.bz2;name=tarball \
>            file://udhcpscript.patch \
> --
> 1.7.5.4
>
>
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
>
Saul Wold - Feb. 24, 2012, 4:17 a.m.
On 02/15/2012 06:08 PM, Andreas Oberritter wrote:
> * It's not used by the recipe and its creation
>    currently depends on CONFIG_HWCLOCK=y.
>
> Signed-off-by: Andreas Oberritter<obi@opendreambox.org>
> ---
>   meta/recipes-core/busybox/busybox.inc       |    1 -
>   meta/recipes-core/busybox/busybox_1.19.3.bb |    2 +-
>   2 files changed, 1 insertions(+), 2 deletions(-)
>
> diff --git a/meta/recipes-core/busybox/busybox.inc b/meta/recipes-core/busybox/busybox.inc
> index 5fb436e..fc69d65 100644
> --- a/meta/recipes-core/busybox/busybox.inc
> +++ b/meta/recipes-core/busybox/busybox.inc
> @@ -179,7 +179,6 @@ do_install () {
>   		install -m 0755 ${WORKDIR}/busybox-udhcpd ${D}${sysconfdir}/init.d/
>   	fi
>   	if grep "CONFIG_HWCLOCK=y" ${WORKDIR}/defconfig; then
> -		install -d ${D}${sysconfdir}/default
>   		install -m 0755 ${WORKDIR}/hwclock.sh ${D}${sysconfdir}/init.d/
>   	fi
>   	if grep "CONFIG_UDHCPC=y" ${WORKDIR}/defconfig; then
> diff --git a/meta/recipes-core/busybox/busybox_1.19.3.bb b/meta/recipes-core/busybox/busybox_1.19.3.bb
> index a075407..45e284f 100644
> --- a/meta/recipes-core/busybox/busybox_1.19.3.bb
> +++ b/meta/recipes-core/busybox/busybox_1.19.3.bb
> @@ -1,5 +1,5 @@
>   require busybox.inc
> -PR = "r3"
> +PR = "r4"
>
>   SRC_URI = "http://www.busybox.net/downloads/busybox-${PV}.tar.bz2;name=tarball \
>              file://udhcpscript.patch \

Merged into OE-core

Thanks
	Sau!

Patch

diff --git a/meta/recipes-core/busybox/busybox.inc b/meta/recipes-core/busybox/busybox.inc
index 5fb436e..fc69d65 100644
--- a/meta/recipes-core/busybox/busybox.inc
+++ b/meta/recipes-core/busybox/busybox.inc
@@ -179,7 +179,6 @@  do_install () {
 		install -m 0755 ${WORKDIR}/busybox-udhcpd ${D}${sysconfdir}/init.d/
 	fi
 	if grep "CONFIG_HWCLOCK=y" ${WORKDIR}/defconfig; then
-		install -d ${D}${sysconfdir}/default
 		install -m 0755 ${WORKDIR}/hwclock.sh ${D}${sysconfdir}/init.d/
 	fi
 	if grep "CONFIG_UDHCPC=y" ${WORKDIR}/defconfig; then
diff --git a/meta/recipes-core/busybox/busybox_1.19.3.bb b/meta/recipes-core/busybox/busybox_1.19.3.bb
index a075407..45e284f 100644
--- a/meta/recipes-core/busybox/busybox_1.19.3.bb
+++ b/meta/recipes-core/busybox/busybox_1.19.3.bb
@@ -1,5 +1,5 @@ 
 require busybox.inc
-PR = "r3"
+PR = "r4"
 
 SRC_URI = "http://www.busybox.net/downloads/busybox-${PV}.tar.bz2;name=tarball \
            file://udhcpscript.patch \