diff options
author | Brad Bishop <bradleyb@fuzziesquirrel.com> | 2016-11-11 22:34:57 +0300 |
---|---|---|
committer | Patrick Williams <patrick@stwcx.xyz> | 2016-11-16 20:42:04 +0300 |
commit | f716dc851c07e94b28e2042230fdc3ae7dcae466 (patch) | |
tree | 92f2a71debc459d15c4933a63df5672271fcb270 /meta-phosphor/common/recipes-devtools/python | |
parent | d8d7b442dd843ea3b04230b64ea480baadbb32f4 (diff) | |
download | openbmc-f716dc851c07e94b28e2042230fdc3ae7dcae466.tar.xz |
Workaround broken nativesdk bake for python-mako
Change-Id: I8ecdb768f4f585f67b1261692315122989c69486
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
Diffstat (limited to 'meta-phosphor/common/recipes-devtools/python')
-rw-r--r-- | meta-phosphor/common/recipes-devtools/python/python-mako_%.bbappend | 4 |
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 +} |