]> code.ossystems Code Review - openembedded-core.git/commit
rootfs-postcommands.bbclass: ensure that rootfs gets mounted ro
authorPatrick Ohly <patrick.ohly@intel.com>
Mon, 27 Nov 2017 15:56:42 +0000 (16:56 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 6 Jan 2018 10:11:42 +0000 (10:11 +0000)
commit2b9a670fabf3aefa93dc12be8b2fd3d6226be12a
treeb9530cf46018db442f542e9c9e265bcb095b9ff0
parentded2a1eef3345f88df0ca00f120eeba4c8f80553
rootfs-postcommands.bbclass: ensure that rootfs gets mounted ro

When read-only-rootfs is active, we need to ensure that the rootfs
does not get mounted read/write by the kernel or initramfs. Adding
"ro" to the boot parameters achieves that.

Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
(cherry picked from commit cfc09de06ecc12bb42181004689e881c75072665)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
meta/classes/rootfs-postcommands.bbclass