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 <jhoon20.kim@samsung.com>
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