summaryrefslogtreecommitdiffstats
path: root/meta-phosphor/common/recipes-devtools/python/python-mako_%.bbappend
diff options
context:
space:
mode:
Diffstat (limited to 'meta-phosphor/common/recipes-devtools/python/python-mako_%.bbappend')
-rw-r--r--meta-phosphor/common/recipes-devtools/python/python-mako_%.bbappend4
1 files changed, 4 insertions, 0 deletions
diff --git a/meta-phosphor/common/recipes-devtools/python/python-mako_%.bbappend b/meta-phosphor/common/recipes-devtools/python/python-mako_%.bbappend
new file mode 100644
index 000000000..7bb651516
--- /dev/null
+++ b/meta-phosphor/common/recipes-devtools/python/python-mako_%.bbappend
@@ -0,0 +1,4 @@
+RDEPENDS_${PN} += "python-resource"
+do_install_append_class-nativesdk() {
+ sed -i -e 's|^#!.*/usr/bin/env python|#! /usr/bin/env python|' ${D}${bindir}/mako-render
+}
OpenPOWER on IntegriCloud