diff options
Diffstat (limited to 'meta-phosphor/common/recipes-phosphor/obmc-phosphor-initfs/files')
-rw-r--r-- | meta-phosphor/common/recipes-phosphor/obmc-phosphor-initfs/files/obmc-init.sh | 8 |
1 files changed, 6 insertions, 2 deletions
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 d4d2cc1be..89e4538ee 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 @@ -183,12 +183,16 @@ then then debug_takeover "fsck of read-write fs on $rwdev failed (rc=$rc)" fi -elif test "$rwfst" != jffs2 +elif test "$rwfst" != jffs2 -a "$rwfst" != none then echo "No '$fsck' in read only fs, skipping fsck." fi -if ! mount $rwdev $rwdir -t $rwfst -o $rwopts +if test "$rwfst" = none +then + echo "Running with read-write overlay in RAM for this boot." + echo "No state will be preserved unless flash update performed." +elif ! mount $rwdev $rwdir -t $rwfst -o $rwopts then msg="$(cat)" << HERE |