fix xz discovery
This commit is contained in:
parent
2e871f39e7
commit
07d1f39ce6
|
|
@ -116,11 +116,11 @@ image_pack_dist() {
|
|||
}
|
||||
|
||||
_xz=(xz -zv)
|
||||
[[ $(command -v pixz) ]] && _xz=pixz
|
||||
[[ $(command -v pixz) ]] && _xz=(pixz)
|
||||
notice "compressing image with $_xz"
|
||||
silly
|
||||
pushd $workdir
|
||||
${_xz} "${image_name}.img"
|
||||
${=_xz} "${image_name}.img"
|
||||
|
||||
notice "generating sha256 for ${image_name}.img.xz"
|
||||
sha256sum ${image_name}.img.xz > ${image_name}.img.xz.sha
|
||||
|
|
|
|||
Loading…
Reference in New Issue