Running fsck on the filesystems will cause partition to be modified, and,
consequently it will break possibility of doing DELTA_IMAGE-based upgrade.
This is because the upgrade type verifies the checksum of the partition
before doing upgrade - after fsck it is simply not matching anymore.
Change-Id: If0f56db7895983dbba41a773329d05a2eb1f2675
/sbin/fsck -y $ROOTFS
/sbin/resize2fs -f $ROOTFS
fi
- /sbin/fsck -y $ROOTFS
/bin/mount -o ro $ROOTFS $ROOTFS_MNT
else
if [ "$NEED_RESIZEFS" = "1" ]
/sbin/resize2fs -f $ROOTFS
fi
/bin/mount -o remount,ro $ROOTFS_MNT
- /sbin/fsck -y $ROOTFS
fi
}
/sbin/fsck -y $HALFS
/sbin/resize2fs -f $HALFS
fi
- /sbin/fsck -y $HALFS
/bin/mount -o ro $HALFS $HALFS_MNT
}