diff options
author | Ross Burton <ross.burton@arm.com> | 2025-06-09 12:19:42 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2025-06-12 11:03:43 +0100 |
commit | 95ed7d99093945dac7ffc32869e18c2d5c5904ff (patch) | |
tree | ea5241c9faa238e284fa51b8496ecfed0725047f | |
parent | b1eaa3979709b43007965a78fb15eefc3d3d70bc (diff) | |
download | poky-95ed7d99093945dac7ffc32869e18c2d5c5904ff.tar.gz |
squashfs-tools: clean up PACKAGECONFIG
LZMA isn't supported by the mainline kernel driver, so there's no real
point in enabling it.
Disable LZO by default, as LZO is very obsolete (last released in 2017)
and there are better algorithms available.
Move xattr to the end so it's separate from the compression algorithms.
(From OE-Core rev: 6f65d9372ec639491920fd48df76dfea8afdbfd9)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/recipes-devtools/squashfs-tools/squashfs-tools_4.7.bb | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/meta/recipes-devtools/squashfs-tools/squashfs-tools_4.7.bb b/meta/recipes-devtools/squashfs-tools/squashfs-tools_4.7.bb index 3eb7ad46e9..930439e2d2 100644 --- a/meta/recipes-devtools/squashfs-tools/squashfs-tools_4.7.bb +++ b/meta/recipes-devtools/squashfs-tools/squashfs-tools_4.7.bb | |||
@@ -1,5 +1,3 @@ | |||
1 | # Note, we can probably remove the lzma option as it has be replaced with xz, | ||
2 | # and I don't think the kernel supports it any more. | ||
3 | SUMMARY = "Tools for manipulating SquashFS filesystems" | 1 | SUMMARY = "Tools for manipulating SquashFS filesystems" |
4 | HOMEPAGE = "https://github.com/plougher/squashfs-tools" | 2 | HOMEPAGE = "https://github.com/plougher/squashfs-tools" |
5 | DESCRIPTION = "Tools to create and extract Squashfs filesystems." | 3 | DESCRIPTION = "Tools to create and extract Squashfs filesystems." |
@@ -18,14 +16,14 @@ S = "${WORKDIR}/git" | |||
18 | 16 | ||
19 | EXTRA_OEMAKE = "${PACKAGECONFIG_CONFARGS}" | 17 | EXTRA_OEMAKE = "${PACKAGECONFIG_CONFARGS}" |
20 | 18 | ||
21 | PACKAGECONFIG ??= "gzip xz lzo lz4 lzma xattr zstd" | 19 | PACKAGECONFIG ??= "gzip lz4 xz zstd xattr" |
22 | PACKAGECONFIG[gzip] = "GZIP_SUPPORT=1,GZIP_SUPPORT=0,zlib" | 20 | PACKAGECONFIG[gzip] = "GZIP_SUPPORT=1,GZIP_SUPPORT=0,zlib" |
23 | PACKAGECONFIG[xz] = "XZ_SUPPORT=1,XZ_SUPPORT=0,xz" | 21 | PACKAGECONFIG[xz] = "XZ_SUPPORT=1,XZ_SUPPORT=0,xz" |
24 | PACKAGECONFIG[lzo] = "LZO_SUPPORT=1,LZO_SUPPORT=0,lzo" | 22 | PACKAGECONFIG[lzo] = "LZO_SUPPORT=1,LZO_SUPPORT=0,lzo" |
25 | PACKAGECONFIG[lz4] = "LZ4_SUPPORT=1,LZ4_SUPPORT=0,lz4" | 23 | PACKAGECONFIG[lz4] = "LZ4_SUPPORT=1,LZ4_SUPPORT=0,lz4" |
26 | PACKAGECONFIG[lzma] = "LZMA_XZ_SUPPORT=1,LZMA_XZ_SUPPORT=0,xz" | 24 | PACKAGECONFIG[lzma] = "LZMA_XZ_SUPPORT=1,LZMA_XZ_SUPPORT=0,xz" |
27 | PACKAGECONFIG[xattr] = "XATTR_SUPPORT=1,XATTR_SUPPORT=0,attr" | ||
28 | PACKAGECONFIG[zstd] = "ZSTD_SUPPORT=1,ZSTD_SUPPORT=0,zstd" | 25 | PACKAGECONFIG[zstd] = "ZSTD_SUPPORT=1,ZSTD_SUPPORT=0,zstd" |
26 | PACKAGECONFIG[xattr] = "XATTR_SUPPORT=1,XATTR_SUPPORT=0,attr" | ||
29 | 27 | ||
30 | do_compile() { | 28 | do_compile() { |
31 | oe_runmake -C ${S}/squashfs-tools all | 29 | oe_runmake -C ${S}/squashfs-tools all |