mkefidisk: Boot with ro kernel parameter instead of rw
authorDarren Hart <dvhart@linux.intel.com>
Tue, 19 Mar 2013 22:15:03 +0000 (15:15 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 22 Mar 2013 16:54:38 +0000 (16:54 +0000)
commitfdd0d983aae5ae4b1cfdbebb10b9dd9cf6b7ec82
treeb7d4ddf6dde1059324f6413e7217c06fb97b83d1
parentf45f22b13f81c72db5715b452dc8b9b7fef79d3b
mkefidisk: Boot with ro kernel parameter instead of rw

There is no need to boot with "rw". Booting with "ro" will allow for
fsck to be run during boot, and a proper /etc/fstab will still ensure
the rootfs is "rw" by the time the user can interact with the system.

Change the "rw" to "ro" in the kernel parameters specified in the
generated grub.cfg file.

Fixes [YOCTO 4036] mkefidisk.sh hardcodes 'rw' as root mount option

(From OE-Core rev: 960f0cbf85a4124adbc74d8b2ceb09a7d39ecc04)

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
Cc: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
scripts/contrib/mkefidisk.sh