Add support for pixz in zlibs/imaging.
This commit is contained in:
parent
c1c6fc8c06
commit
3eee81ee50
|
|
@ -179,9 +179,16 @@ image_pack_dist() {
|
|||
pushd $workdir
|
||||
|
||||
[[ -n "$nocompressimage" ]] || {
|
||||
notice "compressing image with xz"
|
||||
if which pixz > /dev/null ; then
|
||||
xzcomp=$(which pixz)
|
||||
else
|
||||
xzcomp=$(which xz)
|
||||
fi
|
||||
|
||||
notice "compressing image with $xzcomp"
|
||||
silly
|
||||
xz -zv "${image_name}.img"
|
||||
|
||||
$xzcomp "${image_name}.img"
|
||||
}
|
||||
|
||||
mkdir -p "$R/dist"
|
||||
|
|
|
|||
Loading…
Reference in New Issue