summaryrefslogtreecommitdiffstats
path: root/meta-phosphor/common/recipes-phosphor
diff options
context:
space:
mode:
authorMilton Miller <miltonm@us.ibm.com>2016-02-23 21:00:06 -0600
committerMilton D. Miller II <miltonm@us.ibm.com>2016-02-24 09:54:20 -0600
commite442584ae86e6e9e1c488c191ebbb3e1bbca24dd (patch)
tree8e424c99fb320c78811dbd4e933981cf74479dcf /meta-phosphor/common/recipes-phosphor
parent4e86a43e1d0b8a3555df40aec338ae9f16412053 (diff)
downloadtalos-openbmc-e442584ae86e6e9e1c488c191ebbb3e1bbca24dd.tar.gz
talos-openbmc-e442584ae86e6e9e1c488c191ebbb3e1bbca24dd.zip
initfs: Do not warn on missing jffs2 fsck
We know there is no command and we plan to have this the default. Suppress the message to avoid user questions and concerns. Signed-off-by: Milton Miller <miltonm@us.ibm.com>
Diffstat (limited to 'meta-phosphor/common/recipes-phosphor')
-rw-r--r--meta-phosphor/common/recipes-phosphor/obmc-phosphor-initfs/files/obmc-init.sh3
1 files changed, 2 insertions, 1 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 7fc65877c..f2fe938a8 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
@@ -119,7 +119,8 @@ then
then
debug_takeover "fsck of read-write fs on $rwdev failed (rc=$rc)"
fi
-else
+elif test $fsck != /sbin/fsck.jffs2
+then
echo "No '$fsck' in read only fs, skipping fsck."
fi
OpenPOWER on IntegriCloud