]> 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, 9 Dec 2017 14:36:57 +0000 (14:36 +0000)
commitcfc09de06ecc12bb42181004689e881c75072665
tree29510ecee6ff60f8fa3008e75923e2701ddf8141
parent577585375efac8f86223d7549ce39cd70877cbd9
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>
meta/classes/rootfs-postcommands.bbclass