summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@intel.com>2013-06-12 17:42:25 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-06-13 17:38:11 +0100
commit4505618ac3be81a44a7da2783efe3d618bf5890f (patch)
tree10457cddd31495903001345fa2d8a76d71804dd0 /meta
parentec0b81a5319cb7258cdf30458c5740a687977ed2 (diff)
downloadpoky-4505618ac3be81a44a7da2783efe3d618bf5890f.tar.gz
gnome-doc-utils: drop the usage of create_wrapper
create_wrapper was previously abused to invoke the Python interpretter directly instead of relying on #! parsing, which is read into a 128 byte buffer so breaks with deep build directories. However now that we already install a "nativepython" binary into the native sysroot, use sed to change the #! line to /usr/bin/env nativepython. (From OE-Core rev: 470a67d9047ccabe3b624238f31c0381793404be) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r--meta/recipes-gnome/gnome/gnome-doc-utils.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-gnome/gnome/gnome-doc-utils.inc b/meta/recipes-gnome/gnome/gnome-doc-utils.inc
index 9d243a171a..b0433ad338 100644
--- a/meta/recipes-gnome/gnome/gnome-doc-utils.inc
+++ b/meta/recipes-gnome/gnome/gnome-doc-utils.inc
@@ -20,7 +20,7 @@ do_install_append() {
20} 20}
21 21
22do_install_append_class-native () { 22do_install_append_class-native () {
23 create_wrapper ${D}${bindir}/xml2po ${STAGING_BINDIR_NATIVE}/python-native/python 23 sed -i -e 's|^#!.*/usr/bin/env python|#! /usr/bin/env nativepython|' ${D}${bindir}/xml2po
24} 24}
25 25
26FILES_${PN} += "${datadir}/xml* ${PYTHON_SITEPACKAGES_DIR}/*" 26FILES_${PN} += "${datadir}/xml* ${PYTHON_SITEPACKAGES_DIR}/*"