From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from exprod5og112.obsmtp.com ([64.18.0.24]) by linuxtogo.org with esmtp (Exim 4.69) (envelope-from ) id 1NtkFo-0006WX-FH for openembedded-devel@lists.openembedded.org; Mon, 22 Mar 2010 17:13:51 +0100 Received: from source ([12.71.149.1]) (using TLSv1) by exprod5ob112.postini.com ([64.18.4.12]) with SMTP ID DSNKS6eWafSCVJxZozSQPxnb98DvIv351kF/@postini.com; Mon, 22 Mar 2010 09:10:18 PDT Received: from unknown (HELO cinmlip01.e2k.ad.ge.com) ([3.159.213.48]) by Cinmlip04.e2k.ad.ge.com with ESMTP; 22 Mar 2010 12:05:05 -0400 Received: from es-j7s4d2j.amer.consind.ge.com ([3.138.54.92]) by cinmlip01.e2k.ad.ge.com with ESMTP; 22 Mar 2010 12:05:05 -0400 From: Martyn Welch To: openembedded-devel@lists.openembedded.org Date: Mon, 22 Mar 2010 16:08:20 +0000 Message-ID: <20100322160729.4972.62697.stgit@ES-J7S4D2J.amer.consind.ge.com> In-Reply-To: 201003221051.26027.marcin@juszkiewicz.com.pl References: 201003221051.26027.marcin@juszkiewicz.com.pl User-Agent: StGIT/0.13 MIME-Version: 1.0 X-SA-Exim-Connect-IP: 64.18.0.24 X-SA-Exim-Mail-From: martyn.welch@ge.com X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on discovery X-Spam-Level: X-Spam-Status: No, score=-6.6 required=5.0 tests=AWL,BAYES_00, RCVD_IN_DNSWL_MED autolearn=ham version=3.2.5 X-SA-Exim-Version: 4.2.1 (built Wed, 25 Jun 2008 17:20:07 +0000) X-SA-Exim-Scanned: Yes (on linuxtogo.org) Subject: [RFC][PATCH v2] Alternative to busybox, using "proper tools" X-BeenThere: openembedded-devel@lists.openembedded.org X-Mailman-Version: 2.1.11 Precedence: list Reply-To: openembedded-devel@lists.openembedded.org List-Id: Using the OpenEmbedded metadata to build Distributions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Mar 2010 16:14:00 -0000 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit This patch provides a mechanism to replace busybox by defining a busybox package which actually just requires a set of other packages. To get it to be used rather than the standard busybox, define: PREFERRED_PROVIDER_busybox = "busybox-alt" --- Marcin: Something like this you mean? recipes/busybox/busybox-alt_1.bb | 17 ++++++++ recipes/tasks/task-proper-tools.bb | 76 ++++++++++++++++++++++++++++++++++++ 2 files changed, 92 insertions(+), 1 deletions(-) diff --git a/recipes/busybox/busybox-alt_1.bb b/recipes/busybox/busybox-alt_1.bb new file mode 100644 index 0000000..584cc46 --- /dev/null +++ b/recipes/busybox/busybox-alt_1.bb @@ -0,0 +1,17 @@ +DESCRIPTION = "Full versions of tools provided by busybox" + +ALLOW_EMPTY = "1" +PACKAGES = "busybox" +PACKAGE_ARCH = "all" + +PROVIDES = "busybox" +DEFAULT_PREFERENCE = "1" + +RDEPENDS = "\ + task-proper-tools \ +" + +DEPENDS = "\ + task-proper-tools \ +" + diff --git a/recipes/tasks/task-proper-tools.bb b/recipes/tasks/task-proper-tools.bb index e693c10..bac6b5b 100644 --- a/recipes/tasks/task-proper-tools.bb +++ b/recipes/tasks/task-proper-tools.bb @@ -4,33 +4,107 @@ PR = "r11" inherit task RDEPENDS_${PN} = "\ + bash \ + bc \ + bind-utils \ + binutils \ binutils-symlinks \ + bzip2 \ + console-tools \ coreutils \ cpio \ debianutils \ + dhcp-client \ diffutils \ e2fsprogs \ + e2fsprogs-fsck \ + e2fsprogs-libs \ fbset \ findutils \ gawk \ grep \ gzip \ + ifupdown-ubuntu \ +# inetutils \ iproute2 \ iputils \ + iputils-ping \ + iputils-ping6 \ + iputils-arping \ less \ + minicom \ + mktemp \ module-init-tools \ + ncurses \ netcat \ net-tools \ patch \ procps \ psmisc \ + openrdate \ + realpath \ sed \ + start-stop-daemon \ + syslog-ng \ + sysvinit \ tar \ + tftp-hpa \ + time \ tcptraceroute \ util-linux-ng \ + unzip \ vim \ wget \ - " +" + +DEPENDS_${PN} = "\ + bash \ + bc \ + bind \ + binutils \ + bzip2 \ + console-tools \ + coreutils \ + cpio \ + debianutils \ + dhcp \ + diffutils \ + e2fsprogs \ + fbset \ + findutils \ + gawk \ + grep \ + gzip \ + ifupdown-ubuntu \ +# inetutils \ + iproute2 \ + iputils \ + less \ + minicom \ + mktemp \ + module-init-tools \ + ncurses \ + netcat \ + net-tools \ + patch \ + procps \ + psmisc \ + openrdate \ + realpath \ + sed \ + start-stop-daemon \ + syslog-ng \ + sysvinit \ + tar \ + tftp-hpa \ + time \ + tcptraceroute \ + util-linux-ng \ + unzip \ + vim \ + wget \ +" + # # binutils-symlinks provide ar in a way which conflict with busybox - #1465 for more info # -- Martyn Welch (Principal Software Engineer) | Registered in England and GE Intelligent Platforms | Wales (3828642) at 100 T +44(0)127322748 | Barbirolli Square, Manchester, E martyn.welch@ge.com | M2 3AB VAT:GB 927559189