From: Alexander Burmashev Date: Thu, 7 Feb 2019 15:49:31 +0000 (-0800) Subject: uek-rpm: use multi-threaded xz compression for rpms X-Git-Tag: v4.1.12-124.31.3~276 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=b2ad7231927596fb4d10835a07df312f9bb14514;p=users%2Fjedix%2Flinux-maple.git uek-rpm: use multi-threaded xz compression for rpms By default kernel rpms use xz compression for all rpms files and gzip compression for src.rpms. This commit changes compression type to xz for all rpms produced, and enables multi-threaded compression for rpms. It allows to use as many threads as there are CPU cores available. Orabug: 29323635 Signed-off-by: Alex Burmashev Reviewed-by: Somasundaram Krishnasamy Signed-off-by: Brian Maly --- diff --git a/uek-rpm/ol6/kernel-uek.spec b/uek-rpm/ol6/kernel-uek.spec index cde35262605f..01f78254052b 100644 --- a/uek-rpm/ol6/kernel-uek.spec +++ b/uek-rpm/ol6/kernel-uek.spec @@ -1,3 +1,5 @@ +%define _source_payload w2T0.xzdio +%define _binary_payload w2T0.xzdio %define kernel_git_commit 74c661676446c010ea6f46dab7231d98761d66a5 %global __spec_install_pre %{___build_pre} diff --git a/uek-rpm/ol7/kernel-uek.spec b/uek-rpm/ol7/kernel-uek.spec index 5b28f489ae25..2d26267bab26 100644 --- a/uek-rpm/ol7/kernel-uek.spec +++ b/uek-rpm/ol7/kernel-uek.spec @@ -1,3 +1,5 @@ +%define _source_payload w2T0.xzdio +%define _binary_payload w2T0.xzdio %define kernel_git_commit 74c661676446c010ea6f46dab7231d98761d66a5 %global __spec_install_pre %{___build_pre}