[oe] [RFC][PATCH v2] Alternative to busybox, using "proper tools"
Martyn Welch
martyn.welch at ge.com
Mon Mar 22 16:08:20 UTC 2010
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 at ge.com | M2 3AB VAT:GB 927559189
More information about the Openembedded-devel
mailing list