mirror of
https://git.yoctoproject.org/poky
synced 2026-04-03 20:02:24 +02:00
mkefidisk.sh: Remove initrd entry for gummiboot
My previous patch adding gummiboot support was missing the line to remove the initrd line from the boot config. This was an oversight in copying over the grub setup to gummiboot. Add the necessary logic to remove it. (From OE-Core rev: c7355550dc21a1ef3c2e828ed5f51e94e12fac5f) Signed-off-by: Darren Hart <dvhart@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
6ac058cffe
commit
c294bbe520
@@ -355,6 +355,7 @@ if [ -d "$GUMMI_ENTRIES" ]; then
|
||||
echo "ERROR: $GUMMI_CFG not found"
|
||||
fi
|
||||
|
||||
sed -i "/initrd /d" $GUMMI_CFG
|
||||
sed -i "s@ root=[^ ]*@ @" $GUMMI_CFG
|
||||
sed -i "s@options *LABEL=boot @options LABEL=Boot root=$TARGET_ROOTFS ro rootwait quiet @" $GUMMI_CFG
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user