summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authorTim Rozet <trozet@redhat.com>2017-03-15 17:25:15 -0400
committerFeng Pan <fpan@redhat.com>2017-03-16 02:50:18 +0000
commit61c3c1d2e017758eaabb97bd1312bfe7cd2aa1a9 (patch)
treedcaaa6fe0f674a30d7bf7a619337f7c68c5c6f90 /build
parentc6d065f09cddce51f0e56afab1ed2625e0923a0a (diff)
Reduces apex odl image size
Uses compression and sparsify to reduce image size so we don't go over the CPIO max size for RPM. JIRA: APEX-402 Change-Id: Ib6e74e703b114080dcabf4eeaa1be68aa56edea3 Signed-off-by: Tim Rozet <trozet@redhat.com> (cherry picked from commit 03e4fffb7f6e2937757768e5035ba507120bd531)
Diffstat (limited to 'build')
-rwxr-xr-xbuild/overcloud-opendaylight.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/build/overcloud-opendaylight.sh b/build/overcloud-opendaylight.sh
index 4a2173d0..fdf1fedf 100755
--- a/build/overcloud-opendaylight.sh
+++ b/build/overcloud-opendaylight.sh
@@ -113,5 +113,5 @@ LIBGUESTFS_BACKEND=direct virt-customize \
--install capnproto-devel,capnproto-libs,capnproto \
-a overcloud-full-opendaylight_build.qcow2
-mv overcloud-full-opendaylight_build.qcow2 overcloud-full-opendaylight.qcow2
+LIBGUESTFS_BACKEND=direct virt-sparsify --compress overcloud-full-opendaylight_build.qcow2 overcloud-full-opendaylight.qcow2
popd > /dev/null