commit | 5d772b03fa5d6db36fe08eac65bab82ea6c35200 | [log] [tgz] |
---|---|---|
author | Milton D. Miller II <miltonm@us.ibm.com> | Sat Feb 27 17:31:39 2016 -0600 |
committer | Milton D. Miller II <miltonm@us.ibm.com> | Mon Mar 07 15:19:28 2016 -0600 |
tree | 92d49e0dd0435ac7ae7136315a83446a454a825d | |
parent | 21786ff0b988fb46f2164b72d80c0de749d47c06 [diff] |
init: Add option to run with writable overlay in RAM If overlay-filesystem-in-ram is found set rwfst=none suppressing the rwfs mount. Signed-off-by: Milton Miller <miltonm@us.ibm.com>
diff --git a/meta-phosphor/common/recipes-phosphor/obmc-phosphor-initfs/files/obmc-init.sh b/meta-phosphor/common/recipes-phosphor/obmc-phosphor-initfs/files/obmc-init.sh index 7953176..2e8467c 100644 --- a/meta-phosphor/common/recipes-phosphor/obmc-phosphor-initfs/files/obmc-init.sh +++ b/meta-phosphor/common/recipes-phosphor/obmc-phosphor-initfs/files/obmc-init.sh
@@ -164,6 +164,11 @@ fsck=$fsckbase$rwfst fi +if grep -w overlay-filesystem-in-ram $optfile +then + rwfst=none +fi + if test -s /run/image-rofs then rodev=/run/image-rofs