We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ec11dc5 commit 032dfa3Copy full SHA for 032dfa3
1 file changed
os/mkosi/scripts/make-release-artifacts.sh
@@ -24,8 +24,9 @@ rootfs="$OUT/files/rootfs.squashfs.verity"
24
truncate -s 0 "$rootfs"
25
# Privileged mkosi runs can inherit host default ACLs from their workspace.
26
# The guest rootfs does not rely on xattrs, so exclude this host-only metadata.
27
+# A single compressor worker also avoids host-CPU-dependent fragment ordering.
28
env -u SOURCE_DATE_EPOCH mksquashfs "$TREE" "$rootfs" -noappend -all-root -no-progress \
- -no-xattrs -comp zstd -mkfs-time "$SOURCE_DATE_EPOCH" \
29
+ -no-xattrs -processors 1 -comp zstd -mkfs-time "$SOURCE_DATE_EPOCH" \
30
-all-time "$SOURCE_DATE_EPOCH" >/dev/null
31
data_size=$(stat -c %s "$rootfs")
32
data_size=$(( (data_size + 4095) / 4096 * 4096 ))
0 commit comments