summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2012-08-02 21:28:58 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-08-02 23:01:34 +0100
commitd6f2cd7e0331ad2508c62b5d2d125e714baff4e2 (patch)
tree982e2770da6602e94e07854f92ef377455e15949
parentdee07308c170afca44748aebab768f461e6208ac (diff)
downloadpoky-d6f2cd7e0331ad2508c62b5d2d125e714baff4e2.tar.gz
gnome-desktop: Fix python location on recent distros
This fixes errors on distros with python as /bin/python of the form: | error: Failed dependencies: | /bin/python is needed by gnome-desktop-2.32.1-r5.i586 (From OE-Core rev: 02c5299cf6f1c347e2653409b32be8fd39876ac9) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-gnome/gnome/gnome-desktop.inc3
1 files changed, 2 insertions, 1 deletions
diff --git a/meta/recipes-gnome/gnome/gnome-desktop.inc b/meta/recipes-gnome/gnome/gnome-desktop.inc
index 51933b23b4..4687a7b1ca 100644
--- a/meta/recipes-gnome/gnome/gnome-desktop.inc
+++ b/meta/recipes-gnome/gnome/gnome-desktop.inc
@@ -11,12 +11,13 @@ do_configure_prepend () {
11 11
12FILES_${PN} += "${datadir}/gnome-about ${datadir}/libgnome-desktop/pnp.ids" 12FILES_${PN} += "${datadir}/gnome-about ${datadir}/libgnome-desktop/pnp.ids"
13 13
14PR = "r5" 14PR = "r6"
15 15
16inherit gnome pkgconfig 16inherit gnome pkgconfig
17 17
18do_install_append () { 18do_install_append () {
19 sed -i -e's,${STAGING_BINDIR_NATIVE},${bindir},g' ${D}${bindir}/gnome-about 19 sed -i -e's,${STAGING_BINDIR_NATIVE},${bindir},g' ${D}${bindir}/gnome-about
20 sed -i -e '1s,#!.*python,#! ${USRBINPATH}/env python,' ${D}${bindir}/gnome-about
20} 21}
21 22
22 23