fixup! support pixz for compressing images faster
This commit is contained in:
parent
3c25285d5c
commit
5b791c9ef0
|
|
@ -114,12 +114,12 @@ image_pack_dist() {
|
||||||
zerr
|
zerr
|
||||||
}
|
}
|
||||||
|
|
||||||
_xz=xz
|
_xz="xz -zv"
|
||||||
[[ $(command -v pixz) ]] && _xz=pixz
|
[[ $(command -v pixz) ]] && _xz=pixz
|
||||||
notice "compressing image with $_xz"
|
notice "compressing image with $_xz"
|
||||||
silly
|
silly
|
||||||
pushd $workdir
|
pushd $workdir
|
||||||
$_xz -zv ${image_name}.img
|
${=_xz} ${image_name}.img
|
||||||
|
|
||||||
notice "generating sha256 for ${image_name}.img.xz"
|
notice "generating sha256 for ${image_name}.img.xz"
|
||||||
sha256sum ${image_name}.img.xz > ${image_name}.img.xz.sha
|
sha256sum ${image_name}.img.xz > ${image_name}.img.xz.sha
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue