From 5ad94eb6c33f8061d4aa76d15028d931969673d0 Mon Sep 17 00:00:00 2001 From: Tobias Powalowski Date: Tue, 16 Jul 2024 23:11:08 +0200 Subject: [PATCH] fix reproducibility --- usr/lib/archboot/cpio/cpio.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/usr/lib/archboot/cpio/cpio.sh b/usr/lib/archboot/cpio/cpio.sh index 675e995e4..1e059f432 100644 --- a/usr/lib/archboot/cpio/cpio.sh +++ b/usr/lib/archboot/cpio/cpio.sh @@ -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 |