Switch to upstream RPM repos + armband repo-comp. 95/12395/2
authorAlexandru Avadanii <Alexandru.Avadanii@enea.com>
Sun, 17 Apr 2016 19:52:48 +0000 (21:52 +0200)
committerAlexandru Avadanii <Alexandru.Avadanii@enea.com>
Sun, 17 Apr 2016 20:07:52 +0000 (22:07 +0200)
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

Makefile

index 9490f5a..8a9a283 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -73,7 +73,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 \