Skip to content
This repository was archived by the owner on Apr 17, 2025. It is now read-only.

Commit 4b65641

Browse files
committed
Reduce compression slightly for a significant build time reduction.
1 parent 26685d5 commit 4b65641

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

rootfs/installer/profiledef.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ bootmodes=('bios.syslinux.mbr' 'bios.syslinux.eltorito'
1616
arch="x86_64"
1717
pacman_conf="pacman.conf"
1818
airootfs_image_type="squashfs"
19-
airootfs_image_tool_options=('-comp' 'xz' '-Xbcj' 'x86' '-b' '1M' '-Xdict-size' '1M')
19+
airootfs_image_tool_options=('-comp' 'xz' '-Xbcj' 'x86' '-b' '128K' '-Xdict-size' '100%')
2020
file_permissions=(
2121
["/etc/shadow"]="0:0:400"
2222
["/root"]="0:0:750"

rootfs/steamfork/build-image

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -319,7 +319,7 @@ btrfs send -f ${OUTPUT}/${FINAL_DISTRIB_IMAGE}.img ${ROOT_WORKDIR}/${OS_FS_PREFI
319319
umount -l ${ROOT_WORKDIR} && umount -l ${WORKDIR}/work.img && rm -rf ${WORKDIR} && ${WORKDIR}/work.img
320320
if [[ -z "${NO_COMPRESS}" ]]; then
321321
echo "Compressing image..."
322-
zstd --ultra -z ${OUTPUT}/${FINAL_DISTRIB_IMAGE}.img -o ${OUTPUT}/${FINAL_DISTRIB_IMAGE}.img.zst
322+
zstd -z ${OUTPUT}/${FINAL_DISTRIB_IMAGE}.img -o ${OUTPUT}/${FINAL_DISTRIB_IMAGE}.img.zst
323323
rm -rf ${OUTPUT}/${FINAL_DISTRIB_IMAGE}.img
324324
chown 1000:1000 ${OUTPUT}/${FINAL_DISTRIB_IMAGE}.img.zst
325325
chmod 777 ${OUTPUT}/${FINAL_DISTRIB_IMAGE}.img.zst

0 commit comments

Comments
 (0)