summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/recipes-core/initrdscripts/files/init-install-efi.sh6
1 files changed, 4 insertions, 2 deletions
diff --git a/meta/recipes-core/initrdscripts/files/init-install-efi.sh b/meta/recipes-core/initrdscripts/files/init-install-efi.sh
index 23228c92c4..574966e14e 100644
--- a/meta/recipes-core/initrdscripts/files/init-install-efi.sh
+++ b/meta/recipes-core/initrdscripts/files/init-install-efi.sh
@@ -161,8 +161,10 @@ sed -i "/menuentry 'install'/,/^}/d" $GRUBCFG
161sed -i "/initrd /d" $GRUBCFG 161sed -i "/initrd /d" $GRUBCFG
162# Delete any LABEL= strings 162# Delete any LABEL= strings
163sed -i "s/ LABEL=[^ ]*/ /" $GRUBCFG 163sed -i "s/ LABEL=[^ ]*/ /" $GRUBCFG
164# Replace the ramdisk root with the install device and include other options 164# Delete any root= strings
165sed -i "s@ root=[^ ]*@ root=$rootfs rw $rootwait quiet@" $GRUBCFG 165sed -i "s/ root=[^ ]*/ /" $GRUBCFG
166# Add the root= and other standard boot options
167sed -i "s@linux /vmlinuz *@linux /vmlinuz root=$rootfs rw $rootwait quiet @" $GRUBCFG
166 168
167umount /ssd 169umount /ssd
168sync 170sync