<feed xmlns='http://www.w3.org/2005/Atom'>
<title>staging/linusw/tools/squashfs4, branch master</title>
<subtitle>Staging tree of Linus Walleij</subtitle>
<id>https://git-03.infra.openwrt.org/openwrt/staging/linusw/atom?h=master</id>
<link rel='self' href='https://git-03.infra.openwrt.org/openwrt/staging/linusw/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/staging/linusw/'/>
<updated>2026-01-09T12:50:38Z</updated>
<entry>
<title>tools/squashfs4: fix rare data corruption issue</title>
<updated>2026-01-09T12:50:38Z</updated>
<author>
<name>Shiji Yang</name>
</author>
<published>2026-01-08T13:10:56Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/staging/linusw/commit/?id=d93429888c847b0604bd504640c6f3c4dda3fc3d'/>
<id>urn:sha1:d93429888c847b0604bd504640c6f3c4dda3fc3d</id>
<content type='text'>
There is a chance that the squashfs4 tool may create a broken image
under certain conditions. Backport the fix from upstream to address
this issue.

Report: https://forum.openwrt.org/t/bug-squashfs4-tools-4-7-4-create-corrupted-image/244894
Fixes: 64432358e098 ("tools/squashfs4: update to 4.7.3")
Reported-by: Oleg S &lt;remittor@gmail.com&gt;
Signed-off-by: Shiji Yang &lt;yangshiji66@outlook.com&gt;
Link: https://github.com/openwrt/openwrt/pull/21458
Signed-off-by: Robert Marko &lt;robimarko@gmail.com&gt;
</content>
</entry>
<entry>
<title>tools/squashfs4: update to 4.7.4</title>
<updated>2025-11-22T22:22:17Z</updated>
<author>
<name>Nick Hainke</name>
</author>
<published>2025-11-20T20:29:27Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/staging/linusw/commit/?id=71deb5b6d58cf100d0ee7cab23a464a1a5e2eae1'/>
<id>urn:sha1:71deb5b6d58cf100d0ee7cab23a464a1a5e2eae1</id>
<content type='text'>
Remove upstreamed patches:
- 0001-mksquashfs-fix-build-for-big-endian-architectures.patch
- 0002-gzip_wrapper-fix-byte-swapping-prototype.patch
- 0003-mksquashfs-fix-regression-introduced-by-SEEK_DATA-op.patch

Link: https://github.com/openwrt/openwrt/pull/20843
Signed-off-by: Nick Hainke &lt;vincent@systemli.org&gt;
</content>
</entry>
<entry>
<title>tools/squashfs4: update to 4.7.3</title>
<updated>2025-11-09T21:45:12Z</updated>
<author>
<name>Shiji Yang</name>
</author>
<published>2025-11-07T12:45:25Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/staging/linusw/commit/?id=64432358e098b444682ceedf9d385ed9aaaed4e4'/>
<id>urn:sha1:64432358e098b444682ceedf9d385ed9aaaed4e4</id>
<content type='text'>
Release Note:
  https://github.com/plougher/squashfs-tools/releases/tag/4.7.3

The three backported patches fixed the regression and build
issue on squashfs-tools v4.7.3.

Signed-off-by: Shiji Yang &lt;yangshiji66@outlook.com&gt;
Link: https://github.com/openwrt/openwrt/pull/20683
Signed-off-by: Hauke Mehrtens &lt;hauke@hauke-m.de&gt;
</content>
</entry>
<entry>
<title>tools/squashfs4: update to 4.7.2</title>
<updated>2025-08-20T21:33:22Z</updated>
<author>
<name>Shiji Yang</name>
</author>
<published>2025-08-20T11:32:11Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/staging/linusw/commit/?id=d01165a6ce039a65d4a83f32fe3051ed66dbdfdd'/>
<id>urn:sha1:d01165a6ce039a65d4a83f32fe3051ed66dbdfdd</id>
<content type='text'>
This minor version update only includes some build fixes and
improvements.

Release Notes:
  https://github.com/plougher/squashfs-tools/releases/tag/4.7.1
  https://github.com/plougher/squashfs-tools/releases/tag/4.7.2

Remove upstream patches:
  001-thread-add-the-missing-pthread.h-header.patch[1]
  002-print_pager-add-missing-includes.patch[2]

[1] https://github.com/plougher/squashfs-tools/commit/b6e9f4b62cc3e762ceeddc0fc099f7d65f7b7361
[2] https://github.com/plougher/squashfs-tools/commit/05a895b3f996d1ac157d95b04980f5f047e7dbf7

Signed-off-by: Shiji Yang &lt;yangshiji66@outlook.com&gt;
Link: https://github.com/openwrt/openwrt/pull/19820
Signed-off-by: Nick Hainke &lt;vincent@systemli.org&gt;
</content>
</entry>
<entry>
<title>tools/squashfs4: fix compile on Alpine Linux</title>
<updated>2025-07-03T09:23:40Z</updated>
<author>
<name>Rany Hany</name>
</author>
<published>2025-07-02T16:53:39Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/staging/linusw/commit/?id=7f939d99e771250f16e87e687540caecbec7e9c7'/>
<id>urn:sha1:7f939d99e771250f16e87e687540caecbec7e9c7</id>
<content type='text'>
This backports upstream commit 05a895b3f996[1] to fix
compilation when using musl on the host machine.

[1]: https://github.com/plougher/squashfs-tools/commit/05a895b3f996d1ac157d95b04980f5f047e7dbf7

Signed-off-by: Rany Hany &lt;rany_hany@riseup.net&gt;
Link: https://github.com/openwrt/openwrt/pull/19285
Signed-off-by: Robert Marko &lt;robimarko@gmail.com&gt;
</content>
</entry>
<entry>
<title>tools/squashfs4: update to 4.7.0</title>
<updated>2025-06-05T19:28:03Z</updated>
<author>
<name>Shiji Yang</name>
</author>
<published>2025-06-04T10:15:17Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/staging/linusw/commit/?id=dbfe3551d9134375e2d60e10468a3441a9e7b620'/>
<id>urn:sha1:dbfe3551d9134375e2d60e10468a3441a9e7b620</id>
<content type='text'>
This new version introduced parallel file reading, which will
greatly improve the IO performance. OpenWrt only uses GZIP
and XZ compression, hence the LZ4, LZO and ZSTD compression
algorithms were explicitly disabled.

Upstreamed patches:
  001-xz_wrapper-support-multiple-lzma-configuration-optio.patch[1]
  002-xz_wrapper-make-new-OpenWrt-extended-options-non-def.patch[2]

Release Notes:
https://github.com/plougher/squashfs-tools/releases/tag/4.7

[1] https://github.com/plougher/squashfs-tools/commit/dcb976fe4ee40e4bac8ae0dcc836629c625a6fd4
[2] https://github.com/plougher/squashfs-tools/commit/5fb9fdfb8757fc9afb6318a3dcf9dce0a97de352

Signed-off-by: Shiji Yang &lt;yangshiji66@outlook.com&gt;
Link: https://github.com/openwrt/openwrt/pull/19019
Signed-off-by: Nick Hainke &lt;vincent@systemli.org&gt;
</content>
</entry>
<entry>
<title>treewide: update PKG_MIRROR_HASH to zst</title>
<updated>2024-04-06T09:24:18Z</updated>
<author>
<name>Paul Spooren</name>
</author>
<published>2024-03-25T09:03:26Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/staging/linusw/commit/?id=b3c1c57a35a0974cf931c71f7279ec0e1fc0fa80'/>
<id>urn:sha1:b3c1c57a35a0974cf931c71f7279ec0e1fc0fa80</id>
<content type='text'>
When using zst instead of xz, the hash changes. This commit fixes the
hash for packages and tools in core.

Signed-off-by: Paul Spooren &lt;mail@aparcar.org&gt;
</content>
</entry>
<entry>
<title>tools/squashfs4: backport OpenWrt extended options patch</title>
<updated>2023-04-20T19:30:52Z</updated>
<author>
<name>Christian Marangi</name>
</author>
<published>2023-04-20T19:30:52Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/staging/linusw/commit/?id=c7c3208192cc7227b99db6233ebf35f20c4cfcf9'/>
<id>urn:sha1:c7c3208192cc7227b99db6233ebf35f20c4cfcf9</id>
<content type='text'>
Due to us keeping a patch around for years and never proposing it to
squashfs4 repository, we resulted in having the same squashfs4 version
but with different supported options. (openwrt patched -- upstream)

To workaround this problem, a non-standard option was required.

To not have surprise on tool bump, backport the patch and add the new
config option required to enable these extended non-standard options.

Signed-off-by: Christian Marangi &lt;ansuelsmth@gmail.com&gt;
</content>
</entry>
<entry>
<title>tools/squashfs4: refresh multiple lzma configuration option patch</title>
<updated>2023-04-12T10:31:13Z</updated>
<author>
<name>Christian Marangi</name>
</author>
<published>2023-04-12T10:18:19Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/staging/linusw/commit/?id=45329197119e5d23c379c938f6025af5a80fd6ad'/>
<id>urn:sha1:45329197119e5d23c379c938f6025af5a80fd6ad</id>
<content type='text'>
Refresh multiple lzma configuration option patch with new version
proposed upstream. (Reintroduce -Xe option and add more checks and
general better code quality)

Signed-off-by: Christian Marangi &lt;ansuelsmth@gmail.com&gt;
</content>
</entry>
<entry>
<title>tools/squashfs4: bump to 4.6.1</title>
<updated>2023-04-01T19:58:31Z</updated>
<author>
<name>Linhui Liu</name>
</author>
<published>2023-03-31T13:42:09Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/staging/linusw/commit/?id=f0103c78d83866fa2649f4d874b94e646d13c591'/>
<id>urn:sha1:f0103c78d83866fa2649f4d874b94e646d13c591</id>
<content type='text'>
Changelogs:
https://github.com/plougher/squashfs-tools/blob/4.6.1/CHANGES

Removed upstreamed patches:
- 001-Unsquashfs-Add-and-make-some-header-includes-conditi.patch
- 002-Mksquashfs-Make-sysinfo-conditional.patch
- 003-Only-use-available-CPUs.patch
- 004-action-rework-strdupa-with-POSIX-strdup-and-free.patch
- 005-Don-t-use-sigwaitinfo-sigtimedwait-if-not-supported.patch
- 006-Move-sysinfo.h-into-the-linux-only-section-should-fi.patch
- 007-Unsquashfs-fix-compilation-error-for-missing-sysctl..patch
- 100-portability.patch

Signed-off-by: Linhui Liu &lt;liulinhui36@gmail.com&gt;
</content>
</entry>
</feed>
