From: Junghoon Kim Date: Tue, 4 Feb 2020 04:05:48 +0000 (+0900) Subject: scripts: init.sh: Change btrfs compression algorithm X-Git-Tag: accepted/tizen/unified/20200204.125757^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F90%2F223790%2F1;p=platform%2Fcore%2Fsystem%2Finitrd.git scripts: init.sh: Change btrfs compression algorithm The OBS build system does not yet support zstd compression algorithm. Change the btrfs compression algorithm to lzo before upgrading the OBS server. Change-Id: Ibc6be7d3f5c9a3364a63aba27e5646c4a0fd58d8 Signed-off-by: Junghoon Kim --- diff --git a/scripts/init.sh b/scripts/init.sh index dd1fbeb..3c172be 100755 --- a/scripts/init.sh +++ b/scripts/init.sh @@ -57,7 +57,7 @@ then if [ x$BTRFS_ROOTFS != "x" ] then /sbin/btrfs check $ROOTFS - /bin/mount $ROOTFS /sysroot -o rw,compress=zstd + /bin/mount $ROOTFS /sysroot -o rw,compress-force=lzo if [ "$NEED_RESIZEFS" = "1" ] then /sbin/btrfs filesystem resize max /sysroot