Skip to content

Commit

Permalink
Use pigz instead of gzip for base image archive (#111)
Browse files Browse the repository at this point in the history
  • Loading branch information
ipetrov117 authored Jan 17, 2024
1 parent 7cfe0c9 commit 8a5cf9f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/rpm/resolver/templates/prepare-base.sh.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ if [ `wc -w <<< $RAW_FILE` -ne 1 ]; then
exit 1
fi
virt-tar-out -a $RAW_FILE / - | gzip --best > $WORK_DIR/{{.ArchiveName}}
virt-tar-out -a $RAW_FILE / - | pigz --best > $WORK_DIR/{{.ArchiveName}}
{{ else }}
virt-tar-out -a $IMG_PATH / - | gzip --best > $WORK_DIR/{{.ArchiveName}}
virt-tar-out -a $IMG_PATH / - | pigz --best > $WORK_DIR/{{.ArchiveName}}
{{ end }}

0 comments on commit 8a5cf9f

Please sign in to comment.