All of lore.kernel.org
 help / color / mirror / Atom feed
* [RFC][PATCH v2] Alternative to busybox, using "proper tools"
@ 2010-03-22 16:08 Martyn Welch
  2010-03-22 16:33 ` Marcin Juszkiewicz
  2011-04-16 15:13 ` [oe,RFC,v2] " Ben Gamari
  0 siblings, 2 replies; 6+ messages in thread
From: Martyn Welch @ 2010-03-22 16:08 UTC (permalink / raw)
  To: openembedded-devel

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



^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2011-04-18 14:19 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-03-22 16:08 [RFC][PATCH v2] Alternative to busybox, using "proper tools" Martyn Welch
2010-03-22 16:33 ` Marcin Juszkiewicz
2010-03-23 10:32   ` Martyn Welch
2010-11-06 14:00     ` Stefan Schmidt
2011-04-16 15:13 ` [oe,RFC,v2] " Ben Gamari
2011-04-18 12:31   ` Martyn Welch

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.