Bug 706

Summary: busybox.sh fails on initial boot
Product: [Build System, Metadata & Runtime] OE-Core Reporter: Darren Hart <dvhart>
Component: coreAssignee: Qing He <qing.he>
Status: RESOLVED FIXED QA Contact:
Severity: major    
Priority: Undecided CC: meta.mr.watcher, meta.watcher
Version: unspecified   
Target Milestone: ---   
Hardware: Beagleboard   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: ---

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