From da121c820b0a3974af7ec6a5690f46db201b7019 Mon Sep 17 00:00:00 2001 From: Junghoon Kim Date: Tue, 4 Feb 2020 13:05:48 +0900 Subject: [PATCH] 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 --- scripts/init.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.7.4