Skip to contentSkip to conversation

arm-autonomy: fix building for xen-tools >=4.15

PATCH New luca fancellu 1 participant 1 message May 27, 2021

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 arm-autonomy: fix building for xen-tools >=4.15

The 0001-vif-nat-fix-hostname.patch is merged in xen-tools 4.15, so fix the layer to apply the patch only for 4.14.

Issue-Id: SCM-2608

Change-Id I1306955ab0b1ee435a8da42e953e142270c4b2d3
---
 .../0001-vif-nat-fix-hostname.patch                          | 0
 meta-arm-autonomy/recipes-extended/xen/xen-tools_%.bbappend  | 5 -----
 .../recipes-extended/xen/xen-tools_4.14.bbappend             | 4 ++++
 3 files changed, 4 insertions(+), 5 deletions(-)
 rename meta-arm-autonomy/recipes-extended/xen/{xen-tools => xen-tools-4.14}/0001-vif-nat-fix-hostname.patch (100%)
 create mode 100644 meta-arm-autonomy/recipes-extended/xen/xen-tools_4.14.bbappend
meta-arm-autonomy/recipes-extended/xen/xen-tools-4.14/0001-vif-nat-fix-hostname.patch renamed from meta-arm-autonomy/recipes-extended/xen/xen-tools/0001-vif-nat-fix-hostname.patch +0 -0
similarity index 100%
rename from meta-arm-autonomy/recipes-extended/xen/xen-tools/0001-vif-nat-fix-hostname.patch
rename to meta-arm-autonomy/recipes-extended/xen/xen-tools-4.14/0001-vif-nat-fix-hostname.patch
meta-arm-autonomy/recipes-extended/xen/xen-tools_%.bbappend +0 -5
index 51e0dfa..f2284b0 100644
@@ -1,8 +1,3 @@
-FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
-
-SRC_URI += "file://0001-vif-nat-fix-hostname.patch \
-           "
-
 PACKAGECONFIG_remove = "\
     ${@bb.utils.contains('DISTRO_FEATURES', \
                          'arm-autonomy-host', \
meta-arm-autonomy/recipes-extended/xen/xen-tools_4.14.bbappend new file +4 -0
new file mode 100644
index 0000000..ea45f31
@@ -0,0 +1,4 @@
+FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}-4.14:"
+
+SRC_URI += "file://0001-vif-nat-fix-hostname.patch \
+           "
Signature · 1 line
2.17.1