diff options
Diffstat (limited to 'system/abuild/use-pigz.patch')
-rw-r--r-- | system/abuild/use-pigz.patch | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/system/abuild/use-pigz.patch b/system/abuild/use-pigz.patch new file mode 100644 index 000000000..a917c8f81 --- /dev/null +++ b/system/abuild/use-pigz.patch @@ -0,0 +1,19 @@ +--- abuild-3.2.0_rc1+adelie/abuild.in.old 2018-05-20 03:17:19.884154704 +0000 ++++ abuild-3.2.0_rc1+adelie/abuild.in 2018-08-31 17:42:34.900000000 +0000 +@@ -1466,6 +1466,7 @@ + local datadir="$pkgbasedir"/$name + local subpkgname=$name + local subpkgarch=$(pkginfo_val arch $file) ++ local _mygzip=$(command -v pigz gzip | head -1) + + trace_apk_deps "$name" "$dir" "$subpkgarch" || return 1 + msg "Package size: ${size}" +@@ -1478,7 +1479,7 @@ + touch .dummy + set -- .dummy + fi +- tar --format pax --xattrs -f - -c "$@" | abuild-tar --hash | gzip -9 >"$dir"/data.tar.gz ++ tar --format pax --xattrs -f - -c "$@" | abuild-tar --hash | $_mygzip -9 >"$dir"/data.tar.gz + + msg "Create checksum..." + # append the hash for data.tar.gz |