]> code.ossystems Code Review - openembedded-core.git/commit
initramfs-framework: support ro boot parameter
authorPatrick Ohly <patrick.ohly@intel.com>
Tue, 8 Sep 2015 13:25:49 +0000 (15:25 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 12 Sep 2015 21:47:19 +0000 (22:47 +0100)
commita09f10f9360862c16fb68972ac041d474d6e3a64
tree65621e6419926a1c0c7b601c087cbbe98186c5bf
parentb8ea1c61b4b8071edf70f5d42119c54ea84de330
initramfs-framework: support ro boot parameter

Default is to mount the rootfs read/write. "ro" can be used to turn
that into read-only, which is useful on systems where userspace does
an fsck before remounting read-write.

Giving both "ro" and "rw" will still mount read-only regardless of the
order, because the ordering information is not preserved by the
initramfs-framework's boot param support.

Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/recipes-core/initrdscripts/initramfs-framework/finish