Add XML patching bitbake class.
This commit adds a new obmc-xmlpatch class that can be
inherited in a recipe to provide a do_patch task to patch XML
files. The patch files are themselves XML, and must end in
.patch.xml for do_patch to find them.
This commit also includes Palmetto patches specified in
palmetto.xml.patch.xml that are required to build the system
inventory.
Change-Id: Idae6ffd8e7a3aa247115ff3a840e047727ff0d1a
Signed-off-by: Matt Spinler <spinler@us.ibm.com>
diff --git a/meta-phosphor/common/recipes-phosphor/mrw/mrw-native.bb b/meta-phosphor/common/recipes-phosphor/mrw/mrw-native.bb
index 3ce4c97..e06a682 100644
--- a/meta-phosphor/common/recipes-phosphor/mrw/mrw-native.bb
+++ b/meta-phosphor/common/recipes-phosphor/mrw/mrw-native.bb
@@ -5,6 +5,7 @@
S = "${WORKDIR}/git"
inherit obmc-phosphor-license
+inherit obmc-xmlpatch
inherit native
PHOSPHOR_MRW_URI ?= "http://missing-mrw-uri"