Enable deltarpm 37/51337/2
authorVictor Morales <victor.morales@intel.com>
Mon, 29 Jan 2018 18:49:25 +0000 (10:49 -0800)
committerVictor Morales <victor.morales@intel.com>
Wed, 31 Jan 2018 02:21:26 +0000 (21:21 -0500)
DeltaRPM allows to install only the difference between an old and new
version of an RPM, as consequence this reduces the network
consumption in CentOS distros.

Change-Id: I317fbac44ae5fb6d5293443e755e2b7ddd08c66e
Signed-off-by: Victor Morales <victor.morales@intel.com>
xci/files/install-ansible.sh

index 979d990..e370d14 100644 (file)
@@ -88,8 +88,8 @@ case ${ID,,} in
         [venv]=python-virtualenv
         [wget]=wget
     )
-    sudo yum updateinfo
-    EXTRA_PKG_DEPS=()
+    sudo $PKG_MANAGER updateinfo
+    EXTRA_PKG_DEPS=( deltarpm )
     ;;
 
     *) echo "ERROR: Supported package manager not found.  Supported: apt, dnf, yum, zypper"; exit 1;;