images: remove original files when using zstd for compression

This commit is contained in:
Pavol Rusnak
2020-06-14 00:19:11 +02:00
parent 2cb97c36ae
commit 490fc040be
2 changed files with 2 additions and 2 deletions

View File

@@ -129,7 +129,7 @@ fi
if test -n "$compressImage"; then
echo "Compressing image..."
zstd -T$NIX_BUILD_CORES $out/iso/$isoName
zstd -T$NIX_BUILD_CORES --rm $out/iso/$isoName
fi
mkdir -p $out/nix-support