From: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
To: openembedded-devel@lists.openembedded.org
Cc: "Eric Bénard" <eric@eukrea.com>
Subject: Re: [PATCH 07/12] busybox: simplify handling of busybox-static
Date: Tue, 11 Jan 2011 20:53:59 +0100 [thread overview]
Message-ID: <20110111195359.GE6584@mx.loc> (raw)
In-Reply-To: <1294084926-3115-7-git-send-email-rep.dot.nop@gmail.com>
Ping?
This is a first step into sanitizing busybox recipes, although it
doesn't really cleanup much ATM.
In the long run, i have already thought about virtualizing busybox into
coreutils/util-linux/init/whatnot and use packages and u-a (to handle
these opkg-packages natively via rootfs_opkg and pstaging w/ opkg-cl
-O). We now do a real install with the superset of {,-static} each and
use u-a to properly set the tools per provider. But anyway. The above
was a step. ACK?
On Mon, Jan 03, 2011 at 09:02:01PM +0100, Bernhard Reutner-Fischer wrote:
>Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
>---
> recipes/busybox/busybox-static_1.17.4.bb | 8 +-------
> recipes/busybox/busybox-static_1.18.1.bb | 6 ------
> recipes/busybox/busybox.inc | 15 +++++++++++++--
> 3 files changed, 14 insertions(+), 15 deletions(-)
>
>diff --git a/recipes/busybox/busybox-static_1.17.4.bb b/recipes/busybox/busybox-static_1.17.4.bb
>index 325752a..252fd66 100644
>--- a/recipes/busybox/busybox-static_1.17.4.bb
>+++ b/recipes/busybox/busybox-static_1.17.4.bb
>@@ -1,11 +1,5 @@
> require busybox_${PV}.bb
>-PR = "${INC_PR}.0"
>+PR = "${INC_PR}.1"
>
> FILESPATHPKG =. "busybox-${PV}:"
> S = "${WORKDIR}/busybox-${PV}"
>-
>-do_configure_append() {
>- sed -i -e '/CONFIG_STATIC/d' .config
>- echo "CONFIG_STATIC=y" >>.config
>-}
>-
>diff --git a/recipes/busybox/busybox-static_1.18.1.bb b/recipes/busybox/busybox-static_1.18.1.bb
>index 58aca93..eeb3040 100644
>--- a/recipes/busybox/busybox-static_1.18.1.bb
>+++ b/recipes/busybox/busybox-static_1.18.1.bb
>@@ -2,9 +2,3 @@ require busybox_${PV}.bb
>
> FILESPATHPKG =. "busybox-${PV}:"
> S = "${WORKDIR}/busybox-${PV}"
>-
>-do_configure_append() {
>- sed -i -e '/CONFIG_STATIC/d' .config
>- echo "CONFIG_STATIC=y" >>.config
>-}
>-
>diff --git a/recipes/busybox/busybox.inc b/recipes/busybox/busybox.inc
>index a9d1e6e..eda5f95 100644
>--- a/recipes/busybox/busybox.inc
>+++ b/recipes/busybox/busybox.inc
>@@ -11,7 +11,7 @@ LICENSE = "GPLv2"
> SECTION = "base"
> PRIORITY = "required"
>
>-INC_PR = "r38"
>+INC_PR = "r39"
>
> SRC_URI = "\
> file://busybox-cron \
>@@ -97,9 +97,11 @@ python () {
> d)
> }
>
>-do_configure () {
>+do_prepare_config () {
> sed -e 's#@DATADIR@#${datadir}#g' \
> < ${WORKDIR}/defconfig > ${S}/.config
>+ sed -i -e '/CONFIG_STATIC/d' .config
>+ echo "# CONFIG_STATIC is not set" >> .config
> for i in 'CROSS' 'DISTRO FEATURES'; do echo "### $i"; done >> \
> ${S}/.config
> sed -i -e '${configmangle}' ${S}/.config
>@@ -112,6 +114,15 @@ do_configure () {
> {if(net==2&&$0 !~ /^#/&&$1){print("# "$1" is not set")}else{print}}' \
> ${S}/.config.oe-tmp > ${S}/.config
> fi
>+}
>+
>+do_prepare_config_append_pn-busybox-static() {
>+ sed -i -e '/CONFIG_STATIC/d' .config
>+ echo "CONFIG_STATIC=y" >>.config
>+}
>+
>+do_configure () {
>+ do_prepare_config
> cml1_do_configure
> }
>
>--
>1.7.2.3
>
next prev parent reply other threads:[~2011-01-11 19:54 UTC|newest]
Thread overview: 36+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-01-03 20:01 [PATCH 01/12] gstd: fix type in RRECOMENDS Bernhard Reutner-Fischer
2011-01-03 20:01 ` [PATCH 02/12] class_image: fix typos Bernhard Reutner-Fischer
2011-01-03 20:28 ` Roman I Khimov
2011-01-03 20:01 ` [PATCH 03/12] image.bbclass: rm symlink destination via ln Bernhard Reutner-Fischer
2011-01-03 20:31 ` Roman I Khimov
2011-01-03 20:01 ` [PATCH 04/12] bitbake.conf: add cpio and ext4 .xz support Bernhard Reutner-Fischer
2011-01-03 20:01 ` [PATCH 05/12] uclibc: shared-flat: put crtreloc.o into -dev package Bernhard Reutner-Fischer
2011-01-11 19:47 ` Bernhard Reutner-Fischer
2011-01-12 7:43 ` Khem Raj
2011-01-03 20:02 ` [PATCH 06/12] busybox: remove superfluous newlines from mdev init script Bernhard Reutner-Fischer
2011-01-03 20:37 ` Roman I Khimov
2011-01-03 20:02 ` [PATCH 07/12] busybox: simplify handling of busybox-static Bernhard Reutner-Fischer
2011-01-11 19:53 ` Bernhard Reutner-Fischer [this message]
2011-01-12 20:41 ` Otavio Salvador
2011-01-03 20:02 ` [PATCH 08/12] busybox: provide -passwd and -shadow packages Bernhard Reutner-Fischer
2011-01-03 21:01 ` Roman I Khimov
2011-01-03 21:13 ` Bernhard Reutner-Fischer
2011-01-03 20:02 ` [PATCH 09/12] busybox: provide postrm for package mdev Bernhard Reutner-Fischer
2011-01-03 20:54 ` Roman I Khimov
2011-01-04 11:58 ` Wolfgang Hauser
2011-01-04 12:22 ` Otavio Salvador
2011-01-04 12:54 ` Wolfgang Hauser
2011-01-11 19:41 ` Bernhard Reutner-Fischer
2011-01-12 11:07 ` Otavio Salvador
2011-01-03 20:02 ` [PATCH 10/12] busybox: simplify update-rc.d OPT handling Bernhard Reutner-Fischer
2011-01-03 20:30 ` Roman I Khimov
2011-01-03 21:09 ` Bernhard Reutner-Fischer
2011-01-13 22:17 ` Otavio Salvador
2011-01-03 20:02 ` [PATCH 11/12] glib-2.0: fix compilation for !IPv6 Bernhard Reutner-Fischer
2011-01-03 20:02 ` [PATCH 12/12] xz: bump version Bernhard Reutner-Fischer
2011-01-11 20:18 ` Bernhard Reutner-Fischer
2011-01-12 7:40 ` Khem Raj
2011-01-03 20:12 ` [PATCH 01/12] gstd: fix type in RRECOMENDS Frans Meulenbroeks
2011-01-03 20:16 ` Koen Kooi
2011-01-03 20:31 ` Bernhard Reutner-Fischer
2011-01-03 20:28 ` Roman I Khimov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20110111195359.GE6584@mx.loc \
--to=rep.dot.nop@gmail.com \
--cc=eric@eukrea.com \
--cc=openembedded-devel@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.