Ticket #870 (closed defect: worksforme)
During boot, init looks for psplash in /usr/bin -- which might not be mounted yet
Reported by: | cwixon@… | Owned by: | michael |
---|---|---|---|
Priority: | high | Milestone: | |
Component: | sysinit | Version: | 2007.2 |
Severity: | normal | Keywords: | |
Cc: | buglog@… | Blocked By: | |
Blocking: | Estimated Completion (week): | ||
HasPatchForReview: | no | PatchReviewResult: | |
Reproducible: |
Description
Consider moving psplash from /usr/bin to /sbin.
psplash is launched fairly early in the boot process, and if /usr is mounted by
init *after* that, the user is treated to a text boot rather than the splash
screen and progress bar.
Additional Details:
On my Neo, I have an ext2 partition on the MicroSD card mounted at /usr, which
is an effective way to add space for additional user programs without having to
mess around with paths.
This works pretty well, except for the aforementioned lack of the graphical
boot. After the text, it boots into X successfully and everything seems fine.
There is no hard error, but a warning does scroll by.
Change History
Note: See
TracTickets for help on using
tickets.
There's more.
The following *additional* commands are referenced by init scripts before any
additional filesystems are mounted:
/usr/bin/awk
/usr/bin/chvt
/usr/bin/cut
/usr/bin/dc
/usr/bin/logger
/usr/bin/printf
/usr/bin/readlink
/usr/bin/tail
/usr/bin/test
All of these are just links to busybox, so consider putting these links in /bin
or /sbin instead of /usr/bin.
(There might be others -- I identified the commands above by watching a few "not
found" errors scroll by during boot, plus a quick manual review of the scripts
in /etc/rcS.d that are run before S35mountall.sh)