busybox-initramfs: seperate mount_flash() and mount_storage(), load splash after mounting /flash

Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
Stephan Raue 2012-08-06 18:28:28 +02:00
parent bc2cfb408c
commit df99a9fdf3

View File

@ -353,10 +353,14 @@ NBD_DEVS="0"
fi
}
mount_disks() {
progress "Mounting disks"
mount_flash() {
progress "Mounting flash"
mount_part "$boot" "/flash" "ro,noatime"
}
mount_storage() {
progress "Mounting storage"
if [ -n "$disk" ]; then
if [ -n "$OVERLAY" ]; then
@ -451,9 +455,10 @@ NBD_DEVS="0"
# main boot sequence
for BOOT_STEP in \
load_modules \
load_splash \
check_disks \
mount_disks \
mount_flash \
load_splash \
mount_storage \
check_update \
prepare_sysroot; do
$BOOT_STEP