diff --git a/main/postmarketos-initramfs/init.sh b/main/postmarketos-initramfs/init.sh index 5dc5c568d..b363b87ca 100644 --- a/main/postmarketos-initramfs/init.sh +++ b/main/postmarketos-initramfs/init.sh @@ -18,10 +18,10 @@ setup_firmware_path # shellcheck disable=SC2154 load_modules /lib/modules/initramfs.load "usb_f_rndis" -setup_mdev -setup_dynamic_partitions "${deviceinfo_super_partitions:=}" setup_framebuffer show_splash "Loading..." +setup_mdev +setup_dynamic_partitions "${deviceinfo_super_partitions:=}" mount_subpartitions run_hooks /hooks diff --git a/main/postmarketos-initramfs/init_functions.sh b/main/postmarketos-initramfs/init_functions.sh index 69ea9bdc6..94e7e9bc2 100644 --- a/main/postmarketos-initramfs/init_functions.sh +++ b/main/postmarketos-initramfs/init_functions.sh @@ -703,15 +703,14 @@ setup_framebuffer() { fi # Wait for /dev/fb0 - echo "NOTE: Waiting 10 seconds for the framebuffer /dev/fb0." - echo "If your device does not have a framebuffer, disable this with:" - echo "no_framebuffer=true in " for _ in $(seq 1 100); do [ -e "/dev/fb0" ] && break sleep 0.1 done if ! [ -e "/dev/fb0" ]; then - echo "ERROR: /dev/fb0 did not appear!" + echo "ERROR: /dev/fb0 did not appear after waiting 10 seconds!" + echo "If your device does not have a framebuffer, disable this with:" + echo "no_framebuffer=true in " return fi