From: Sage Weil Date: Fri, 4 Sep 2015 18:16:01 +0000 (-0400) Subject: fabfile: %_find_debuginfo_dwz_opts %{nil} X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=193864ec69edb4dbb0112bb3ea54e6d2f20b30dd;p=autobuild-ceph.git fabfile: %_find_debuginfo_dwz_opts %{nil} This skips the dwz compression step. The debuginfo package is bigger (from 700M to 1.1G in my test) but it saves about 18 minutes from the build time. Signed-off-by: Sage Weil --- diff --git a/fabfile.py b/fabfile.py index 1f3613d..84b0faa 100644 --- a/fabfile.py +++ b/fabfile.py @@ -181,7 +181,8 @@ def _rh_gitbuilder(flavor, git_repo, extra_remotes={}, extra_packages=[], ignore ) sudo('mkdir -p /home/autobuild-ceph && chown autobuild-ceph /home/autobuild-ceph') with cd('/home/autobuild-ceph'): - sudo('lsb_release -d -s | grep CentOS | grep -q release\ 7 && echo "%dist .el7" > .rpmmacros') + sudo('echo "%_find_debuginfo_dwz_opts %{nil}" > .rpmmacros') + sudo('lsb_release -d -s | grep CentOS | grep -q release\ 7 && echo "%dist .el7" >> .rpmmacros') sudo('install -d -m0755 --owner=root --group=root /srv/autobuild-ceph') local('git bundle create bundle refs/heads/{branch_to_bundle}'.format(branch_to_bundle=branch_to_bundle))