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 |