add mising -u

This commit is contained in:
Tobias Powalowski 2024-07-16 23:20:54 +02:00
parent 5ad94eb6c3
commit 03ffa689ac

View file

@ -251,7 +251,7 @@ _create_cpio() {
# Reproducibility: set all timestamps to 0 # Reproducibility: set all timestamps to 0
fd . -u --min-depth 1 -X touch -hcd "@0" fd . -u --min-depth 1 -X touch -hcd "@0"
echo "Appending directories..." echo "Appending directories..."
fd . -t d -0 | sort -z | fd . -u -t d -0 | sort -z |
LC_ALL=C.UTF-8 bsdtar --null -cnf - -T - | 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!" LC_ALL=C.UTF-8 bsdtar --null -cf - --format=newc @- > "${_GENERATE_IMAGE}" || _abort "Image creation failed!"
echo "Appending compressed files..." echo "Appending compressed files..."