From: Martyn Welch <martyn.welch@ge.com>
To: openembedded-devel@lists.openembedded.org
Subject: Re: [oe,RFC,v2] Alternative to busybox, using "proper tools"
Date: Mon, 18 Apr 2011 13:31:08 +0100 [thread overview]
Message-ID: <4DAC2F0C.1030001@ge.com> (raw)
In-Reply-To: <87zknq5iw3.fsf@gmail.com>
On 16/04/11 16:13, Ben Gamari wrote:
>
> Did anything ever happen with this[1] patch? If not, is there another
> convenient way to use the proper tools in leiu of busybox? For larger
> machines it's very nice to have a more civilized environment. Thanks,
>
I'm afraid I got pulled away from this before I could finish it.
The list of packages in task-proper-tools got updated by Marcin, I still have
a rather old tree containing the rest of it. Here's what I have (sorry my mail
client will have wrapped it a bit):
diff --git a/recipes/busybox/busybox-alt_1.bb b/recipes/busybox/busybox-alt_1.bb
new file mode 100644
index 0000000..811f073
--- /dev/null
+++ b/recipes/busybox/busybox-alt_1.bb
@@ -0,0 +1,19 @@
+DESCRIPTION = "Full versions of tools provided by busybox"
+
+PACKAGES = "busybox"
+PACKAGE_ARCH = "all"
+
+PROVIDES = "busybox"
+DEFAULT_PREFERENCE = "-1"
+
+RDEPENDS = "task-proper-tools"
+
+SRC_URI = "file://hwclock.sh"
+
+
+do_install () {
+ install -d ${D}${sysconfdir}/init.d/
+ install -m 0755 ${WORKDIR}/hwclock.sh ${D}${sysconfdir}/init.d/
+}
+
+FILES += "${sysconfdir}/init.d/hwclock.sh"
diff --git a/recipes/busybox/files/hwclock.sh b/recipes/busybox/files/hwclock.sh
index f9c9f9f..0a644fe 100644
--- a/recipes/busybox/files/hwclock.sh
+++ b/recipes/busybox/files/hwclock.sh
@@ -14,7 +14,7 @@
. /etc/default/rcS
-[ "$UTC" = yes ] && UTC=-u || UTC=-l
+[ "$UTC" = yes ] && UTC=--utc || UTC=--localtime
case "$1" in
start)
diff --git a/recipes/tasks/task-proper-tools.bb
b/recipes/tasks/task-proper-tools.bb
index 40baf87..fd5e481 100644
--- a/recipes/tasks/task-proper-tools.bb
+++ b/recipes/tasks/task-proper-tools.bb
@@ -21,6 +21,7 @@ RDEPENDS_${PN} = "\
grep \
gzip \
ifupdown \
+# inetutils \
iproute2 \
iputils-arping \
iputils-ping6 \
@@ -40,6 +41,7 @@ RDEPENDS_${PN} = "\
psmisc \
pump \
realpath \
+ openrdate \
sed \
shadow \
start-stop-daemon \
@@ -51,6 +53,7 @@ RDEPENDS_${PN} = "\
time \
unzip \
util-linux-ng \
+ unzip \
vim \
wget \
"
--
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
prev parent reply other threads:[~2011-04-18 14:19 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
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 message]
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=4DAC2F0C.1030001@ge.com \
--to=martyn.welch@ge.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.