Upstream: move patches to repo-patches dir 03/21403/1
authorAlexandru Avadanii <Alexandru.Avadanii@enea.com>
Mon, 5 Sep 2016 11:51:57 +0000 (13:51 +0200)
committerAlexandru Avadanii <Alexandru.Avadanii@enea.com>
Mon, 19 Sep 2016 09:15:01 +0000 (09:15 +0000)
Upstream change: [1]

Slight rebase of our patches is now needed.

[1] https://gerrit.opnfv.org/gerrit/#/c/20043/

Change-Id: I955ae3c5c304d8c8da6e42680c81e9255487fb68
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
(cherry picked from commit 957a16139281785c2a6685428f7b037d6578f08d)

patches/opnfv-fuel/0021-Build-bootstrap-image-for-arm64.patch
patches/opnfv-fuel/0027-UX-Update-bootstrap-target-build-time-estimate.patch
patches/opnfv-fuel/0031-post-scripts-Enable-systemd-binfmt-for-first-boot.patch
patches/opnfv-fuel/0040-Backport-dpkg-checkbuilddeps-to-mk-build-deps.patch
patches/opnfv-fuel/0043-build-Add-armband.mk-config.patch

index f66777c..4daf733 100644 (file)
@@ -9,9 +9,9 @@ per supported arch. This requires Fuel refactoring.
  build/bootstrap_admin_node.sh.patch | 17 +++++++++++++++++
  1 file changed, 17 insertions(+)
 
-diff --git a/build/bootstrap_admin_node.sh.patch b/build/bootstrap_admin_node.sh.patch
---- a/build/bootstrap_admin_node.sh.patch
-+++ b/build/bootstrap_admin_node.sh.patch
+diff --git a/build/patch-repos/0010-bootstrap_admin_node.sh.patch b/build/patch-repos/0010-bootstrap_admin_node.sh.patch
+--- a/build/patch-repos/0010-bootstrap_admin_node.sh.patch
++++ b/build/patch-repos/0010-bootstrap_admin_node.sh.patch
 @@ -53,3 +53,12 @@
   # Enable iptables
   systemctl enable iptables.service
index 4023264..fe62395 100644 (file)
@@ -11,10 +11,10 @@ Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
  build/bootstrap_admin_node.sh.patch | 23 +++++++++++++++++++++++
  1 file changed, 23 insertions(+)
 
-diff --git a/build/bootstrap_admin_node.sh.patch b/build/bootstrap_admin_node.sh.patch
+diff --git a/build/patch-repos/0010-bootstrap_admin_node.sh.patch b/build/patch-repos/0010-bootstrap_admin_node.sh.patch
 index c66b497..46b53e6 100644
---- a/build/bootstrap_admin_node.sh.patch
-+++ b/build/bootstrap_admin_node.sh.patch
+--- a/build/patch-repos/0010-bootstrap_admin_node.sh.patch
++++ b/build/patch-repos/0010-bootstrap_admin_node.sh.patch
 @@ -8,5 +8,20 @@
  --- a/iso/bootstrap_admin_node.sh
  +++ b/iso/bootstrap_admin_node.sh
index 6d55311..03e877a 100644 (file)
@@ -30,10 +30,10 @@ Finally, this commit adds an OPNFV post-install script in
  2 files changed, 47 insertions(+)
  create mode 100755 build/f_isoroot/f_bootstrap/post-scripts/80_prepare_cross_builds.sh
 
-diff --git a/build/bootstrap_admin_node.sh.patch b/build/bootstrap_admin_node.sh.patch
+diff --git a/build/patch-repos/0010-bootstrap_admin_node.sh.patch b/build/patch-repos/0010-bootstrap_admin_node.sh.patch
 index b1ea90b..7f16d0b 100644
---- a/build/bootstrap_admin_node.sh.patch
-+++ b/build/bootstrap_admin_node.sh.patch
+--- a/build/patch-repos/0010-bootstrap_admin_node.sh.patch
++++ b/build/patch-repos/0010-bootstrap_admin_node.sh.patch
 @@ -24,5 +24,18 @@
   nodes over PXE, they will be discovered and become available for installing \
   OpenStack on them"
index 675b981..5dde448 100644 (file)
@@ -8,26 +8,15 @@ Backported from [1].
 
 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
 ---
- build/Makefile                                     |  1 +
  ...ce-dpkg-checkbuilddeps-with-mk-build-deps.patch | 38 ++++++++++++++++++++++
2 files changed, 39 insertions(+)
1 files changed, 38 insertions(+)
  create mode 100644 build/replace-dpkg-checkbuilddeps-with-mk-build-deps.patch
 
-diff --git a/build/Makefile b/build/Makefile
-index d917f26..ec5d27a 100644
---- a/build/Makefile
-+++ b/build/Makefile
-@@ -140,4 +140,5 @@ $(ISOCACHE):
-       cd /tmp/fuel-main && git am $(TOPDIR)/repo-multi-arch-local-mirrors.patch
-+      cd /tmp/fuel-main && git am $(TOPDIR)/replace-dpkg-checkbuilddeps-with-mk-build-deps.patch
-       # Repeat build up to three times
-       sudo -E ./fuel_build_loop
-       cp /tmp/fuel-main/build/artifacts/fuel*.iso .
-diff --git a/build/replace-dpkg-checkbuilddeps-with-mk-build-deps.patch b/build/replace-dpkg-checkbuilddeps-with-mk-build-deps.patch
+diff --git a/build/patch-repos/0040-replace-dpkg-checkbuilddeps-with-mk-build-deps.patch b/build/patch-repos/0040-replace-dpkg-checkbuilddeps-with-mk-build-deps.patch
 new file mode 100644
 index 0000000..896f3cf
 --- /dev/null
-+++ b/build/replace-dpkg-checkbuilddeps-with-mk-build-deps.patch
++++ b/build/patch-repos/0040-replace-dpkg-checkbuilddeps-with-mk-build-deps.patch
 @@ -0,0 +1,38 @@
 +From: Sergii Golovatiuk <sgolovatiuk@mirantis.com>
 +Date: Fri, 3 Jun 2016 12:26:19 +0200
index d82f07a..cb07c9f 100644 (file)
@@ -25,18 +25,16 @@ index 4454c35..377ecc6 100644
  ############################################################################
  # BEGIN of variables to customize
  #
-@@ -129,6 +132,9 @@ $(ISOCACHE):
-       sudo docker info
-       cd /tmp/fuel-main && make repos
-       $(REPOINFO) -r /tmp/fuel-main > gitinfo_fuel.txt
+@@ -129,5 +132,8 @@ $(ISOCACHE):
+       cd $(FUEL_MAIN_DIR) && make repos
+       $(REPOINFO) -r $(FUEL_MAIN_DIR) > gitinfo_fuel.txt
 +      @if test -n $(ARMBAND_BASE); then \
 +              $(REPOINFO) -r $(ARMBAND_BASE) >> gitinfo_fuel.txt; \
 +      fi
        # OPNFV patches at Fuel build time
        # Need to be commited in order for them to be considered by the Fuel
        # build system
-@@ -228,6 +234,10 @@ debug:
-       sha1sum *.patch >> .cachedata
+@@ -228,5 +234,9 @@ debug:
        sha1sum fuel_build_loop >> .cachedata
        sha1sum config.mk >> .cachedata
 +      @if test -n $(ARMBAND_BASE); then \