mirror of
https://github.com/edgelesssys/constellation.git
synced 2024-10-01 01:36:09 -04:00
CoreOS dm-verity: do not compress GCP images twice
This commit is contained in:
parent
6f695892bf
commit
009e186b69
@ -163,8 +163,8 @@ repack () {
|
|||||||
|
|
||||||
gcp)
|
gcp)
|
||||||
echo "📥 Repacking GCP image..."
|
echo "📥 Repacking GCP image..."
|
||||||
tar --use-compress-program=pigz --owner=0 --group=0 -C "${unpacked_image_dir}" -Sch --format=oldgnu -f "${tmp_tar_file}" "${unpacked_image_filename}"
|
tar --owner=0 --group=0 -C "${unpacked_image_dir}" -Sch --format=oldgnu -f "${tmp_tar_file}" "${unpacked_image_filename}"
|
||||||
"${PV}" "${tmp_tar_file}" | gzip -9c > "${packed_image}"
|
"${PV}" "${tmp_tar_file}" | pigz -9c > "${packed_image}"
|
||||||
rm "${tmp_tar_file}"
|
rm "${tmp_tar_file}"
|
||||||
echo " Repacked image stored in ${packed_image}"
|
echo " Repacked image stored in ${packed_image}"
|
||||||
;;
|
;;
|
||||||
|
Loading…
Reference in New Issue
Block a user