[OE-core] [PATCH] mkefidisk: change filesystem to be writeable on grub

Bruno Bottazzini bruno.bottazzini at intel.com
Thu Feb 26 19:29:14 UTC 2015


This patch changes grub configuration so the filesystem will be writeable
instead, just read only when running the script.
---
 scripts/contrib/mkefidisk.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/contrib/mkefidisk.sh b/scripts/contrib/mkefidisk.sh
index b96b7d4..9b84831 100755
--- a/scripts/contrib/mkefidisk.sh
+++ b/scripts/contrib/mkefidisk.sh
@@ -342,7 +342,7 @@ if [ -e "$GRUB_CFG" ]; then
 	sed -i "s/ LABEL=[^ ]*/ /" $GRUB_CFG
 
 	sed -i "s@ root=[^ ]*@ @" $GRUB_CFG
-	sed -i "s at vmlinuz @vmlinuz root=$TARGET_ROOTFS ro rootwait quiet @" $GRUB_CFG
+	sed -i "s at vmlinuz @vmlinuz root=$TARGET_ROOTFS rw rootwait quiet @" $GRUB_CFG
 fi
 
 # Look for a gummiboot installation
-- 
1.9.1




More information about the Openembedded-core mailing list