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 <sage@redhat.com>
)
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))