mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-19 19:40:37 +02:00
fix reproducibility
This commit is contained in:
parent
59d58ed38a
commit
5ad94eb6c3
1 changed files with 1 additions and 0 deletions
|
@ -259,6 +259,7 @@ _create_cpio() {
|
|||
LC_ALL=C.UTF-8 bsdtar --null -cnf - -T - |
|
||||
LC_ALL=C.UTF-8 bsdtar --null -cf - --format=newc @- >> "${_GENERATE_IMAGE}" || _abort "Image creation failed!"
|
||||
fd . -u -e 'bz2' -e 'gz' -e 'xz' -e 'zst' --min-depth 1 -X rm
|
||||
fd . -u --min-depth 1 -X touch -hcd "@0"
|
||||
echo "Appending zstd compressed image..."
|
||||
# use zstd only it has best compression and decompression
|
||||
fd . -u --min-depth 1 -0 | sort -z |
|
||||
|
|
Loading…
Reference in a new issue