libdevuansdk

common library for devuan's simple distro kits
git clone https://git.parazyd.org/libdevuansdk
Log | Files | Refs | Submodules | README | LICENSE

commit 3eee81ee507abc096ffc19b9c75da29113ad21a9
parent c1c6fc8c0686ecdb30da61775f9015798133fb15
Author: parazyd <parazyd@dyne.org>
Date:   Tue, 26 Feb 2019 01:04:49 +0100

Add support for pixz in zlibs/imaging.

Diffstat:
Mzlibs/imaging | 11+++++++++--
1 file changed, 9 insertions(+), 2 deletions(-)

diff --git a/zlibs/imaging b/zlibs/imaging @@ -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"