mirror of
https://git.yoctoproject.org/poky
synced 2026-04-14 17:02:22 +02:00
initrdscripts: Try to boot if boot label is unknown
The init-live.sh scripts assumes that the boot label set by the LABELS variable is either "boot", "install", or "install-efi". If that variable is overridden to something else we fall off the end of the case statement and the system locks up. If the boot label is unknown, at least attempt to boot. (From OE-Core rev: 98353862c08be2f1724aaad7aa4ed0521e3621f2) Signed-off-by: Drew Moseley <drew_moseley@mentor.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
946fb184bf
commit
184dddfb9a
@@ -220,4 +220,8 @@ case $label in
|
||||
# If we're getting here, we failed...
|
||||
fatal "Installation image failed"
|
||||
;;
|
||||
*)
|
||||
# Not sure what boot label is provided. Try to boot to avoid locking up.
|
||||
mount_and_boot
|
||||
;;
|
||||
esac
|
||||
|
||||
Reference in New Issue
Block a user