mirror of
https://git.yoctoproject.org/poky
synced 2026-04-21 21:32:12 +02:00
initramfs-framework/setup-live: quote bootparam_root variable
When bootparam_root was empty the if statement would resolve into invalid syntax instead of short circuiting after the -z, causing a boot failure. (From OE-Core rev: dcd129504ea64986652e2e5907d9badf9373e367) Signed-off-by: California Sullivan <california.l.sullivan@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
e837d74df6
commit
26b6995f61
@@ -12,7 +12,7 @@ ISOLINUX=""
|
||||
ROOT_DISK=""
|
||||
shelltimeout=30
|
||||
|
||||
if [ -z $bootparam_root -o $bootparam_root = "/dev/ram0" ]; then
|
||||
if [ -z "$bootparam_root" -o "$bootparam_root" = "/dev/ram0" ]; then
|
||||
echo "Waiting for removable media..."
|
||||
C=0
|
||||
while true
|
||||
|
||||
Reference in New Issue
Block a user