mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-24 11:16:51 +00:00
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:
parent
bc2cfb408c
commit
df99a9fdf3
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user