Skip to content
This repository was archived by the owner on May 27, 2025. It is now read-only.
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion bin/ch-convert
Original file line number Diff line number Diff line change
Expand Up @@ -116,8 +116,13 @@ cv_dir_squash () {
# Exclude build cache metadata. 64kiB block size based on Shane’s
# experiments.
# shellcheck disable=SC2086
q=
if mksquashfs --help 2>&1 | grep -qE '^-quiet'; then
q=-quiet
fi
quiet mksquashfs "$1" "$2" $squash_xattr_arg -b 65536 -noappend -all-root \
-pf "$pflist" -e "$1"/ch/git -e "$1"/ch/git.pickle
-pf "$pflist" -e "$1"/ch/git -e "$1"/ch/git.pickle $q

# Zero the archive’s internal modification time at bytes 8–11, 0-indexed
# [1]. Newer SquashFS-Tools ≥4.3 have option “-fstime 0” to do this, but
# CentOS 7 comes with 4.2. [1]: https://dr-emann.github.io/squashfs/
Expand Down
Loading