[openwrt/openwrt] image: update LZMA_XZ_OPTIONS with new squashfs4 tool

LEDE Commits lede-commits at lists.infradead.org
Mon Feb 20 04:31:36 PST 2023


ansuel pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/a33b97dcb1bd6e68f01c571e92ef02c3ab721523

commit a33b97dcb1bd6e68f01c571e92ef02c3ab721523
Author: Christian Marangi <ansuelsmth at gmail.com>
AuthorDate: Mon Feb 6 23:28:14 2023 +0100

    image: update LZMA_XZ_OPTIONS with new squashfs4 tool
    
    The -Xpreset option changed format and dropped the -Xe and just require
    the extreme string to be passed to the -Xpreset option.
    
    Update the LZMA_XZ_OPTIONS to reflect this change.
    
    Signed-off-by: Christian Marangi <ansuelsmth at gmail.com>
---
 include/image.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/image.mk b/include/image.mk
index b801ef993c..ef242db96e 100644
--- a/include/image.mk
+++ b/include/image.mk
@@ -77,7 +77,7 @@ SQUASHFSOPT := -b $(SQUASHFS_BLOCKSIZE)
 SQUASHFSOPT += -p '/dev d 755 0 0' -p '/dev/console c 600 0 0 5 1'
 SQUASHFSOPT += $(if $(CONFIG_SELINUX),-xattrs,-no-xattrs)
 SQUASHFSCOMP := gzip
-LZMA_XZ_OPTIONS := -Xpreset 9 -Xe -Xlc 0 -Xlp 2 -Xpb 2
+LZMA_XZ_OPTIONS := -Xpreset extreme -Xlc 0 -Xlp 2 -Xpb 2
 ifeq ($(CONFIG_SQUASHFS_XZ),y)
   ifneq ($(filter arm x86 powerpc sparc,$(LINUX_KARCH)),)
     BCJ_FILTER:=-Xbcj $(LINUX_KARCH)




More information about the lede-commits mailing list