]> git.ipfire.org Git - thirdparty/openwrt.git/commit
build: image: support specifying mksquashfs4 parallel threads 19019/head
authorShiji Yang <yangshiji66@outlook.com>
Wed, 4 Jun 2025 10:16:12 +0000 (18:16 +0800)
committerNick Hainke <vincent@systemli.org>
Thu, 5 Jun 2025 19:28:03 +0000 (21:28 +0200)
commita9972ae53efcdd67b919f7bcd223af972a865b50
tree5ad2185170d047743e647ccbae49b341154e50a6
parentdbfe3551d9134375e2d60e10468a3441a9e7b620
build: image: support specifying mksquashfs4 parallel threads

By enabling multi-threading file reading, the squashfs rootfs build
process can be greatly accelerated. We use 4 as the default thread
number. This is the default value for squashfs4 tool 4.7 if we don't
append "-block-readers" or "-small-readers" options.

For more test results:
https://github.com/plougher/squashfs-tools/blob/4.7/Documentation/4.7/README

Signed-off-by: Shiji Yang <yangshiji66@outlook.com>
Link: https://github.com/openwrt/openwrt/pull/19019
Signed-off-by: Nick Hainke <vincent@systemli.org>
config/Config-images.in
include/image.mk