Change the btrfs compression algorithm of the 2parts ramdisk recovery 83/223783/1 accepted/tizen/unified/20200204.040825 submit/tizen/20200204.034614
authorJunghoon Kim <jhoon20.kim@samsung.com>
Tue, 4 Feb 2020 03:24:35 +0000 (12:24 +0900)
committerJunghoon Kim <jhoon20.kim@samsung.com>
Tue, 4 Feb 2020 03:24:35 +0000 (12:24 +0900)
OBS build system does not yet support the zstd compression. Change the
btrfs compression algorithm to lzo before upgrading the kernel for the
OBS server.

Change-Id: I374664eab3824c836f0d174119a5c40e0e4a3d11
Signed-off-by: Junghoon Kim <jhoon20.kim@samsung.com>
partitions/btrfs-rootfs-2parts-ramdisk-recovery

index aaf0393..327bd78 100644 (file)
@@ -1,4 +1,4 @@
-part / --size=500 --ondisk mmcblk0p --fstype=btrfs --label=rootfs --fsoptions=defaults,noatime,compress=zstd
+part / --size=500 --ondisk mmcblk0p --fstype=btrfs --label=rootfs --fsoptions=defaults,noatime,compress-force=lzo
 part /opt/ --size=512 --ondisk mmcblk0p --fstype=ext4 --label=system-data --extoptions="-m 0"
 part /mnt/initrd --size=7 --ondisk mmcblk0p --fstype=ext4 --label=ramdisk --extoptions="-b 1024"
 part /mnt/initrd-recovery --size=12 --ondisk mmcblk0p --fstype=ext4 --label=ramdisk-recovery --extoptions="-b 1024 -O ^has_journal"