summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorINSUN PYO <insun.pyo@samsung.com>2019-11-11 22:42:22 +0000
committerGerrit Code Review <gerrit@review.ap-northeast-2.compute.internal>2019-11-11 22:42:22 +0000
commited914879d7ccee6f265bacc2517e75c456b7fb57 (patch)
tree2d3921e186755169a018e7ccf95552692ee6a44c
parent371a5daeb972edc6f5c4845eafb4f7549fc40b2f (diff)
parent8737990ffda58593c02fbd6d9ff5a64f7327cdfb (diff)
downloadinitrd-accepted/tizen_5.5_unified.tar.gz
initrd-accepted/tizen_5.5_unified.tar.bz2
initrd-accepted/tizen_5.5_unified.zip
-rwxr-xr-xscripts/init.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/scripts/init.sh b/scripts/init.sh
index 7b884de..60235e2 100755
--- a/scripts/init.sh
+++ b/scripts/init.sh
@@ -55,6 +55,7 @@ if [ x$ROOTFS != "x" ]
then
if [ "$NEED_RESIZEFS" = "1" ]
then
+ /sbin/fsck -y $ROOTFS
/sbin/resize2fs -f $ROOTFS
fi
/sbin/fsck -y $ROOTFS
@@ -68,6 +69,7 @@ if [ x"$DATAFS" != "x" ]
then
if [ "$NEED_RESIZEFS" = "1" ]
then
+ /sbin/fsck -y $DATAFS
/sbin/resize2fs -f $DATAFS
/sbin/fsck -y $DATAFS
/bin/mount $DATAFS /sysroot/opt
@@ -80,6 +82,7 @@ if [ x"$USERFS" != "x" -a "$USERFS_ENCRYPTED" = "0" ]
then
if [ "$NEED_RESIZEFS" = "1" ]
then
+ /sbin/fsck -y $USERFS
/sbin/resize2fs -f $USERFS
fi
/sbin/fsck -y $USERFS
@@ -99,6 +102,7 @@ if [ x$MODULES != "x" ]
then
if [ "$NEED_RESIZEFS" = "1" ]
then
+ /sbin/fsck -y $MODULES
/sbin/resize2fs -f $MODULES
fi
/sbin/fsck -y $MODULES