Bug 706 - busybox.sh fails on initial boot
Summary: busybox.sh fails on initial boot
Status: RESOLVED FIXED
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: core (show other bugs)
Version: unspecified
Hardware: Beagleboard Multiple
: Undecided major
Target Milestone: ---
Assignee: Qing He
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2011-02-09 16:03 UTC by Darren Hart
Modified: 2011-02-14 17:19 UTC (History)
2 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Darren Hart 2011-02-09 16:03:07 UTC
On the first boot of an image, the following is dumped to the console. This is poky-image-minimal on a beagleboard (this particular run was with the meta-linaro-2.6.35 kernel).

...
update-alternatives: Linking //usr/bin/who to ../../bin/busybox
update-alternatives: Linking //usr/bin/whoami to ../../bin/busybox
update-alternatives: Linking //usr/bin/xzcat to ../../bin/busybox
update-alternatives: Linking //usr/bin/xz to ../../bin/busybox
update-alternatives: Linking //usr/bin/yes to ../../bin/busybox
update-alternatives: Linking //bin/zcat to busybox
update-alternatives: Linking //etc/init.d/syslog to syslog.busybox
update-alternatives: Linking //etc/syslog.conf to syslog.conf.busybox
usage: update-rc.d [-n] [-f] [-r <root>] <basename> remove
       update-rc.d [-n] [-r <root>] [-s] <basename> defaults [NN | sNN kNN]
       update-rc.d [-n] [-r <root>] [-s] <basename> start|stop NN runlvl [runlvl] [...] .
                -n: not really
                -f: force
                -v: verbose
                -r: alternate root path (default is /)
                -s: invoke start methods if appropriate to current runlevel
ERROR: postinst /etc/rpm-postinsts/busybox.sh failed.
INIT: Entering runlevel: 5

Upon rebooting, no error messages are reported. I'm concerned busybox is not compeltely setup.
Comment 1 Darren Hart 2011-02-11 15:33:01 UTC
Note: this is addressed by Mark Hatle's patch sent to the poky list.

[poky] [PATCH 1/1] busybox: Rework busybox to fix limitations in	initscripts
Comment 2 Qing He 2011-02-14 17:19:47 UTC
(In reply to comment #1)
> Note: this is addressed by Mark Hatle's patch sent to the poky list.
> 
> [poky] [PATCH 1/1] busybox: Rework busybox to fix limitations in    initscripts

commit 9849e700adbd1391e71e1e88799772524fad9a5a