Tiny Core Linux
Tiny Core Extensions => TCE Talk => Topic started by: repeat on February 24, 2026, 04:38:33 PM
-
I'm compiling an binary for piCore64 but no matter what I do I get 4096 block size. I have added -b 16K and -b 16384.
I've tried this with piCore64 16.0 on raspberry pi 4 and 5 with the same results.
What am I doing wrong? (everything)
I figured out submitqc was changing it back to 4096 even though I'm on aarch64 and required to submit as 16K.
-
I thought we fixed that in submitqc
-
Hi Paul_123
According to you, you fixed it:
armhf can stay 4k, but I have changed the defaults for squashfs-tools to 16k for both.
If someone is building an arch independant extension like firmware-* those should be 16k since they tend to get copied between repos.
From 16.x/aarch64/tcz/squashfs-tools.tcz.info:
Current: 2024/04/13 Recompiled with new 16k blocksize
Maybe submitqc is overriding the default for mksquashfs with -b 4096.
-
sorry.. my issue was with submitqc unstable release 20241219
Have to add the --blocksize or converts back to 4096.
gutmensch accepted my build of rsgain after I figured that out and a few other niggles.
-
Hi repeat
OK, I just looked at the latest submitqc and you are correct.
For anyone else that runs into this, the syntax for 16K is:
--blocksize=16384
Although mksquashfs will also accept 16K , that will fail with submitqc.
--blocksize= must be specified in bytes, not Kbytes or Mbytes.