[xen master] tools/mkrpm: switch payload to gzip to reduce turnaround time

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[xen master] tools/mkrpm: switch payload to gzip to reduce turnaround time

patchbot
commit 6069dd65d67e846b37aa03c48d22ceaf1afd211a
Author:     Olaf Hering <[hidden email]>
AuthorDate: Thu Aug 30 12:05:11 2018 +0200
Commit:     Wei Liu <[hidden email]>
CommitDate: Fri Sep 7 15:02:06 2018 +0100

    tools/mkrpm: switch payload to gzip to reduce turnaround time
   
    rpmbuild -bb spents alot of time in compressing the binaries. Reduce the
    turnaround time of 'make rpmball' by using gzip as compression tool.
    This reduces the buildtime from 'w9.xzdio'/138 seconds to 'w1.gzdio'/88
    seconds in my environment.
    The downside is an increased filesize of xen.rpm, 19MB vs. 37MB.
   
    Signed-off-by: Olaf Hering <[hidden email]>
    Acked-by: Wei Liu <[hidden email]>
---
 tools/misc/mkrpm | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tools/misc/mkrpm b/tools/misc/mkrpm
index f9363a1456..ae40e1a4c4 100644
--- a/tools/misc/mkrpm
+++ b/tools/misc/mkrpm
@@ -37,6 +37,7 @@ Group:   System/Hypervisor
 URL: http://xenbits.xenproject.org/xen.git
 
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
+%define _binary_payload w1.gzdio
 %define __spec_install_post /usr/lib/rpm/brp-compress || :
 %define debug_package %{nil}
 
--
generated by git-patchbot for /home/xen/git/xen.git#master

_______________________________________________
Xen-changelog mailing list
[hidden email]
https://lists.xenproject.org/xen-changelog