Skip to contentSkip to conversation

busybox: don't create /etc/default

PATCH Applied Andreas Oberritter 3 participants 3 messages Feb 16, 2012 – Feb 24, 2012

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 busybox: don't create /etc/default

* It's not used by the recipe and its creation
currently depends on CONFIG_HWCLOCK=y.

---
 meta/recipes-core/busybox/busybox.inc       |    1 -
 meta/recipes-core/busybox/busybox_1.19.3.bb |    2 +-
 2 files changed, 1 insertions(+), 2 deletions(-)
meta/recipes-core/busybox/busybox.inc +0 -1
index 5fb436e..fc69d65 100644
@@ -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
meta/recipes-core/busybox/busybox_1.19.3.bb +1 -1
index a075407..45e284f 100644
@@ -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 \
Signature · 1 line
1.7.5.4
Acked-by on v1 1/1
#1 lore raw
Quoted 46 lines · Andreas Oberritter

* It's not used by the recipe and its creation
currently depends on CONFIG_HWCLOCK=y.

---
 meta/recipes-core/busybox/busybox.inc       |    1 -
 meta/recipes-core/busybox/busybox_1.19.3.bb |    2 +-
 2 files changed, 1 insertions(+), 2 deletions(-)
meta/recipes-core/busybox/busybox.inc +0 -0
index 5fb436e..fc69d65 100644
@@ -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
(quoted diff) +0 -0

busybox_1.19.3.bb
index a075407..45e284f 100644

meta/recipes-core/busybox/busybox_1.19.3.bb +1 -1
@@ -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
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core

Signature · 3 lines
Otavio Salvador                             O.S. Systems
E-mail: [email protected]  http://www.ossystems.com.br
Mobile: +55 53 9981-7854              http://projetos.ossystems.com.br
Applied
#2 lore raw
In reply to Andreas Oberritter
Quoted 26 lines · Andreas Oberritter

* It's not used by the recipe and its creation
currently depends on CONFIG_HWCLOCK=y.

---
  meta/recipes-core/busybox/busybox.inc       |    1 -
  meta/recipes-core/busybox/busybox_1.19.3.bb |    2 +-
  2 files changed, 1 insertions(+), 2 deletions(-)
meta/recipes-core/busybox/busybox.inc +0 -1
index 5fb436e..fc69d65 100644
@@ -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
meta/recipes-core/busybox/busybox_1.19.3.bb +0 -0
index a075407..45e284f 100644

meta/recipes-core/busybox/busybox_1.19.3.bb line 5

Quoted 6 lines
meta/recipes-core/busybox/busybox_1.19.3.bb +1 -1
@@ -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!