patch-repos: Align Fuel patch context with Armband 35/26035/1
authorAlexandru Avadanii <Alexandru.Avadanii@enea.com>
Thu, 15 Dec 2016 17:14:00 +0000 (18:14 +0100)
committerAlexandru Avadanii <Alexandru.Avadanii@enea.com>
Thu, 15 Dec 2016 17:14:33 +0000 (18:14 +0100)
JIRA: FUEL-238

Change-Id: I6a97b53a399fa961ce099d21211ee71c48f226c0
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
patches/opnfv-fuel/0057-patch-repos-Align-Fuel-patch-context-with-Armband.patch [new file with mode: 0644]

diff --git a/patches/opnfv-fuel/0057-patch-repos-Align-Fuel-patch-context-with-Armband.patch b/patches/opnfv-fuel/0057-patch-repos-Align-Fuel-patch-context-with-Armband.patch
new file mode 100644 (file)
index 0000000..a98c8b0
--- /dev/null
@@ -0,0 +1,30 @@
+From: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
+Date: Thu, 15 Dec 2016 18:11:53 +0100
+Subject: [PATCH] patch-repos: Align Fuel patch context with Armband
+
+Since some Fuel@OPNFV patches apply on top of Armband patched
+fuel-library, we need to align patch-context for Fuel@OPNFV to
+apply cleanly.
+
+Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
+---
+ .../0005-puppet-cobbler-Fix-CentOS-version-detection.patch            | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/build/patch-repos/build/repos/fuel-library/0005-puppet-cobbler-Fix-CentOS-version-detection.patch b/build/patch-repos/build/repos/fuel-library/0005-puppet-cobbler-Fix-CentOS-version-detection.patch
+index 1ada615..0d9bf66 100644
+--- a/build/patch-repos/build/repos/fuel-library/0005-puppet-cobbler-Fix-CentOS-version-detection.patch
++++ b/build/patch-repos/build/repos/fuel-library/0005-puppet-cobbler-Fix-CentOS-version-detection.patch
+@@ -30,10 +30,10 @@ index 267c18c..3c14ea1 100644
+        case $::operatingsystemrelease {
+ -        /6.+/: {
+ +        /^6.+/: {
+-           $cobbler_additional_packages = ['xinetd', 'tftp-server', 'syslinux', 'wget', 'python-ipaddr','fence-agents', 'bind-utils']
++           $cobbler_additional_packages = ['xinetd', 'tftp-server', 'syslinux', 'wget', 'python-ipaddr','fence-agents', 'bind-utils', 'cobbler-grub-aarch64']
+          }
+ -        /7.+/: {
+ +        /^7.+/: {
+-           $cobbler_additional_packages = ['xinetd', 'tftp-server', 'syslinux', 'wget', 'python-ipaddr','fence-agents-all', 'bind-utils']
++           $cobbler_additional_packages = ['xinetd', 'tftp-server', 'syslinux', 'wget', 'python-ipaddr','fence-agents-all', 'bind-utils', 'cobbler-grub-aarch64']
+          }
+        }