mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-28 13:16:41 +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
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
mount_disks() {
|
mount_flash() {
|
||||||
progress "Mounting disks"
|
progress "Mounting flash"
|
||||||
|
|
||||||
mount_part "$boot" "/flash" "ro,noatime"
|
mount_part "$boot" "/flash" "ro,noatime"
|
||||||
|
}
|
||||||
|
|
||||||
|
mount_storage() {
|
||||||
|
progress "Mounting storage"
|
||||||
|
|
||||||
if [ -n "$disk" ]; then
|
if [ -n "$disk" ]; then
|
||||||
if [ -n "$OVERLAY" ]; then
|
if [ -n "$OVERLAY" ]; then
|
||||||
@ -451,9 +455,10 @@ NBD_DEVS="0"
|
|||||||
# main boot sequence
|
# main boot sequence
|
||||||
for BOOT_STEP in \
|
for BOOT_STEP in \
|
||||||
load_modules \
|
load_modules \
|
||||||
load_splash \
|
|
||||||
check_disks \
|
check_disks \
|
||||||
mount_disks \
|
mount_flash \
|
||||||
|
load_splash \
|
||||||
|
mount_storage \
|
||||||
check_update \
|
check_update \
|
||||||
prepare_sysroot; do
|
prepare_sysroot; do
|
||||||
$BOOT_STEP
|
$BOOT_STEP
|
||||||
|
Loading…
x
Reference in New Issue
Block a user