Switch to upstream RPM repos + armband repo-comp. 57/13557/1
authorAlexandru Avadanii <Alexandru.Avadanii@enea.com>
Sun, 17 Apr 2016 19:52:48 +0000 (21:52 +0200)
committerAlexandru Avadanii <Alexandru.Avadanii@enea.com>
Mon, 2 May 2016 14:31:18 +0000 (14:31 +0000)
Instead of using linux.enea.com for ALL RPM packages for CentOS7,
by overriding FUEL_MIRROR in the Makefile, switch to using
EXTRA_RPM_REPOS variable to point to armband RPM repo-component.

This way, the bulk of RPM packages will be fetched from upstream,
instead of our mirror.

- we no longer have to sync and merge from upstream the RPM repos,
  but only maintain the reduced armband repo-component, currently
  hosting 2 packages (qemu-user-static and cobbler-grub-aarch64);
- it will lower bandwidth usage to armband mirrors;
- first step for merging with upstream the RPM repos;
- easier to integrate with the way OPNFV replaces YUM repos on FM;

Change-Id: I76c1ef3d308c099d523099ea96fb57539ef71e04
(cherry picked from commit 7a70a9e5fd406a1d72d038ed9460e417df4e8482)

Makefile

index 44baa4e..e58fe0d 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -75,7 +75,7 @@ build:
                        PRODUCT_VERSION=8.0 \
                        PRODUCT_NAME=mos \
                        CENTOS_MAJOR=7 \
-                       MIRROR_FUEL=http://linux.enea.com/mos-repos/centos/mos8.0-centos7-fuel/os/x86_64/ \
+                       EXTRA_RPM_REPOS="armband,http://linux.enea.com/mos-repos/centos/mos8.0-centos7-fuel/armband/x86_64,10" \
                        MIRROR_UBUNTU_URL=http://archive.ubuntu.com/ubuntu/ \
                        LATEST_MIRROR_ID_URL=http://linux.enea.com/ \
                        JAVA8_URL=https://launchpad.net/~openjdk-r/+archive/ubuntu/ppa/+files/openjdk-8-jre-headless_8u72-b15-1~trusty1_arm64.deb \