Re: [meta-raspberrypi][PATCH] xserver-xf86-config: remove changes of THISDIR and FILESPATH


Andrei Gherzan
 




On Fri, Apr 18, 2014 at 4:04 PM, Michaël Burtin <mburtin@...> wrote:
THISDIR and FILESPATH are not supposed to be changed from within
recipes. This was causing troubles with other bbappend.

Change-Id: I7c3c788ddb61b0b790a9fe06f86e4bd93a822c8c
Signed-off-by: Michaël Burtin <mburtin@...>
---
 recipes-graphics/xorg-xserver/xserver-xf86-config_0.1.bbappend | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/recipes-graphics/xorg-xserver/xserver-xf86-config_0.1.bbappend b/recipes-graphics/xorg-xserver/xserver-xf86-config_0.1.bbappend
index 3e86645..0b4dc31 100644
--- a/recipes-graphics/xorg-xserver/xserver-xf86-config_0.1.bbappend
+++ b/recipes-graphics/xorg-xserver/xserver-xf86-config_0.1.bbappend
@@ -3,9 +3,6 @@ FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
 # Don't forget to bump PRINC if you update the extra files.
 PRINC := "${@int(PRINC) + 5}"

-THISDIR := "${@os.path.dirname(bb.data.getVar('FILE', d, True))}"
-FILESPATH =. "${@base_set_filespath(["${THISDIR}/${PN}"], d)}:"
-
 SRC_URI_append_raspberrypi = " file://xorg.conf.d/10-evdev.conf "

 do_install_append_raspberrypi () {
--
1.9.1

Merged. Thank you. 

--
Andrei Gherzan
m: +40.744.478.414 |  f: +40.31.816.28.12

Join {yocto@lists.yoctoproject.org to automatically receive all group messages.