From 659eb9b64c51d2e8e89f5c1dbeef2862bcfc99ee Mon Sep 17 00:00:00 2001 From: weishanshan1084 Date: Tue, 9 Apr 2024 14:07:50 +0800 Subject: [PATCH] reduce the xz compression level to resolve compression failure Signed-off-by: weishanshan1084 --- fs/common.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/common.mk b/fs/common.mk index 45beb5ae..ddbb4a74 100644 --- a/fs/common.mk +++ b/fs/common.mk @@ -149,7 +149,7 @@ endif ifeq ($$(BR2_TARGET_ROOTFS_$(2)_XZ),y) ROOTFS_$(2)_DEPENDENCIES += host-xz ROOTFS_$(2)_COMPRESS_EXT = .xz -ROOTFS_$(2)_COMPRESS_CMD = xz -9 -C crc32 -c +ROOTFS_$(2)_COMPRESS_CMD = xz -6 -C crc32 -c ifeq ($(BR2_REPRODUCIBLE),) ROOTFS_$(2)_COMPRESS_CMD += -T $(PARALLEL_JOBS) endif