670e87288c0502617720de2b67f799eea3286e4e
[armband.git] / patches / opnfv-fuel / 0010-Separate-armband-repo-comp-from-upstream-RPM-repos.patch
1 From: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2 Date: Mon, 18 Apr 2016 17:24:25 +0200
3 Subject: [PATCH] Separate armband repo-comp from upstream RPM repos.
4
5 Instead of using linux.enea.com for ALL RPM packages for CentOS7,
6 by overriding FUEL_MIRROR in the Makefile, we switched to using
7 EXTRA_RPM_REPOS variable to point to armband RPM repo-component.
8
9 This way, the bulk of RPM packages will be fetched from upstream,
10 instead of our mirror.
11
12 This requires updating ks.cfg{,.orig} with the new armband repo.
13 ---
14  build/f_isoroot/f_kscfg/ks.cfg      | 2 +-
15  build/f_isoroot/f_kscfg/ks.cfg.orig | 2 +-
16  2 files changed, 2 insertions(+), 2 deletions(-)
17
18 diff --git a/build/f_isoroot/f_kscfg/ks.cfg b/build/f_isoroot/f_kscfg/ks.cfg
19 index 30bad1d..b58f98b 100644
20 --- a/build/f_isoroot/f_kscfg/ks.cfg
21 +++ b/build/f_isoroot/f_kscfg/ks.cfg
22 @@ -14,7 +14,7 @@ unsupported_hardware
23  # SKIP CONFIGURING X
24  skipx
25  repo --name="mos-centos" --baseurl=file:///run/install/repo/mos-centos/ --cost=100
26 -
27 +repo --name="armband" --baseurl=file:///run/install/repo/extra-repos/armband --cost=10
28  # NEVER ever place zerombr here, it breaks automated installation
29  %include /tmp/bootloader.ks
30  %include /tmp/partition.ks
31 diff --git a/build/f_isoroot/f_kscfg/ks.cfg.orig b/build/f_isoroot/f_kscfg/ks.cfg.orig
32 index f8a43da..5f541a4 100755
33 --- a/build/f_isoroot/f_kscfg/ks.cfg.orig
34 +++ b/build/f_isoroot/f_kscfg/ks.cfg.orig
35 @@ -14,7 +14,7 @@ unsupported_hardware
36  # SKIP CONFIGURING X
37  skipx
38  repo --name="mos-centos" --baseurl=file:///run/install/repo/mos-centos/ --cost=100
39 -
40 +repo --name="armband" --baseurl=file:///run/install/repo/extra-repos/armband --cost=10
41  # NEVER ever place zerombr here, it breaks automated installation
42  %include /tmp/bootloader.ks
43  %include /tmp/partition.ks