Skip to contentSkip to conversation

initramfs-framework/setup-live: remove superfluous break

PATCH New California Sullivan 1 participant 1 message Jul 28, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 initramfs-framework/setup-live: remove superfluous break

This causes us to fall out of the module setup/run loop in the base init script should "root=" be defined, causing a boot failure.

---
 meta/recipes-core/initrdscripts/initramfs-framework/setup-live | 2 --
 1 file changed, 2 deletions(-)
meta/recipes-core/initrdscripts/initramfs-framework/setup-live +0 -2
index ec4a139..591c93a 100644
@@ -49,8 +49,6 @@ shelltimeout=30
 		done
 		# The existing rootfs module has no support for rootfs images. Assign the rootfs image.
 		bootparam_root="/run/media/$ROOT_DISK/$ISOLINUX/$ROOT_IMAGE"
-	else
-		break
 	fi
 
 	if [ "$bootparam_LABEL" != "boot" -a -f /init.d/$bootparam_LABEL.sh ] ; then
Signature · 1 line
2.9.4