diff options
author | Darren Hart <dvhart@linux.intel.com> | 2014-07-21 09:12:48 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-07-23 21:44:20 +0100 |
commit | c7355550dc21a1ef3c2e828ed5f51e94e12fac5f (patch) | |
tree | af10c0a202ea9416419fcd08240321e821aae083 /scripts/contrib/mkefidisk.sh | |
parent | d2328d6aa52fd4f0b47ae3292ae6ae07301bf9d0 (diff) | |
download | openembedded-core-c7355550dc21a1ef3c2e828ed5f51e94e12fac5f.tar.gz openembedded-core-c7355550dc21a1ef3c2e828ed5f51e94e12fac5f.tar.bz2 openembedded-core-c7355550dc21a1ef3c2e828ed5f51e94e12fac5f.zip |
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.
Signed-off-by: Darren Hart <dvhart@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/contrib/mkefidisk.sh')
-rwxr-xr-x | scripts/contrib/mkefidisk.sh | 1 |
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 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 |