summaryrefslogtreecommitdiff
path: root/meta-phosphor/recipes-devtools/python/python-mako_%.bbappend
diff options
context:
space:
mode:
Diffstat (limited to 'meta-phosphor/recipes-devtools/python/python-mako_%.bbappend')
-rw-r--r--meta-phosphor/recipes-devtools/python/python-mako_%.bbappend12
1 files changed, 12 insertions, 0 deletions
diff --git a/meta-phosphor/recipes-devtools/python/python-mako_%.bbappend b/meta-phosphor/recipes-devtools/python/python-mako_%.bbappend
new file mode 100644
index 000000000..020bdd6ab
--- /dev/null
+++ b/meta-phosphor/recipes-devtools/python/python-mako_%.bbappend
@@ -0,0 +1,12 @@
+# python-mako installs /usr/bin/mako-render for both python2 and python3,
+# which causes a bitbake QA failure. Remove it from installation for the
+# native target to avoid the collision.
+#
+# We don't currently use this as a target package and if we did, we shouldn't
+# install both python2 and python3 variants.
+#
+# Once we are done with python2, we can delete this.
+
+do_install_append_class-native() {
+ rm ${D}${bindir}/mako-render
+}