Stijn Tintel a36ec178b5
image: let mksquashfs4 use all processors
Drop the -processors argument from the mksquashfs4 call, so it will use
all available processors. This dramatically reduces the time to create
squashfs filesystems.

The times below are observed when building an image for my main router,
the WatchGuard Firebox M300 (qoriq target):

Before:
real    4m45,973s

After:
real    0m23,497s

With this commit `mksquashfs` may use more cores than defined via `-j`.
This is the same behaviour as for archive creation of ImageBuilder, SDK
or toolchain. There is no trivial way to limit `mksquashfs` CPU core
usage to the amount of "free" make jobs since two running `mksquashfs`
instances would each run with the total allowed number (-j) of threads.

Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
[extended reasoning in commit message]
Signed-off-by: Paul Spooren <mail@aparcar.org>
(cherry picked from commit df2ae8826ced4f374bcb693b44d8a113ad150d70)
2022-04-24 09:31:37 +08:00
..
2019-08-12 12:27:06 +02:00
2021-02-05 14:54:47 +01:00
2021-02-05 14:54:47 +01:00
2021-02-05 14:54:47 +01:00
2021-02-05 14:54:47 +01:00
2021-02-05 14:54:47 +01:00
2022-04-07 20:42:34 +02:00
2021-03-22 17:08:38 +08:00
2021-02-05 14:54:47 +01:00
2021-02-05 14:54:47 +01:00
2021-10-18 13:40:04 +08:00
2021-02-05 14:54:47 +01:00
2021-02-05 14:54:47 +01:00
2020-12-07 10:46:43 -10:00
2021-02-05 14:54:47 +01:00
2021-02-05 14:54:47 +01:00