]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
uek-rpm: use multi-threaded xz compression for rpms
authorAlexander Burmashev <alexander.burmashev@oracle.com>
Thu, 7 Feb 2019 15:49:31 +0000 (07:49 -0800)
committerBrian Maly <brian.maly@oracle.com>
Tue, 19 Feb 2019 19:18:31 +0000 (14:18 -0500)
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 <alexander.burmashev@oracle.com>
Reviewed-by: Somasundaram Krishnasamy <somasundaram.krishnasamy@oracle.com>
Signed-off-by: Brian Maly <brian.maly@oracle.com>
uek-rpm/ol6/kernel-uek.spec
uek-rpm/ol7/kernel-uek.spec

index cde35262605f4fb587937d666b8036d51a3b4fe5..01f78254052bc1aa320382820ac7cdd96f6595fa 100644 (file)
@@ -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}
 
index 5b28f489ae2544acb6a457c4cfe5979316779970..2d26267bab260eb706f9695b378ba77aa4a8a8e3 100644 (file)
@@ -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}