summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xscripts/contrib/mkefidisk.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/contrib/mkefidisk.sh b/scripts/contrib/mkefidisk.sh
index 7ec373ef56..ba2b56393b 100755
--- a/scripts/contrib/mkefidisk.sh
+++ b/scripts/contrib/mkefidisk.sh
@@ -355,6 +355,7 @@ if [ -d "$GUMMI_ENTRIES" ]; then
355 echo "ERROR: $GUMMI_CFG not found" 355 echo "ERROR: $GUMMI_CFG not found"
356 fi 356 fi
357 357
358 sed -i "/initrd /d" $GUMMI_CFG
358 sed -i "s@ root=[^ ]*@ @" $GUMMI_CFG 359 sed -i "s@ root=[^ ]*@ @" $GUMMI_CFG
359 sed -i "s@options *LABEL=boot @options LABEL=Boot root=$TARGET_ROOTFS ro rootwait quiet @" $GUMMI_CFG 360 sed -i "s@options *LABEL=boot @options LABEL=Boot root=$TARGET_ROOTFS ro rootwait quiet @" $GUMMI_CFG
360fi 361fi