Skip to contentSkip to conversation

xserver-xf86-config: remove changes of THISDIR and FILESPATH

PATCH In review Michaël Burtin 2 participants 2 messages Apr 18, 2014 – May 8, 2014

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 xserver-xf86-config: remove changes of THISDIR and FILESPATH

THISDIR and FILESPATH are not supposed to be changed from within recipes. This was causing troubles with other bbappend.

Change-Id I7c3c788ddb61b0b790a9fe06f86e4bd93a822c8c
---
 recipes-graphics/xorg-xserver/xserver-xf86-config_0.1.bbappend | 3 ---
 1 file changed, 3 deletions(-)
recipes-graphics/xorg-xserver/xserver-xf86-config_0.1.bbappend +0 -3
index 3e86645..0b4dc31 100644
@@ -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 () {
Signature · 1 line
1.9.1
#1 lore raw
Quoted 26 lines · Michaël Burtin

THISDIR and FILESPATH are not supposed to be changed from within recipes. This was causing troubles with other bbappend.

Change-Id I7c3c788ddb61b0b790a9fe06f86e4bd93a822c8c
---
 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

recipes-graphics/xorg-xserver/xserver-xf86-config_0.1.bbappend +0 -4
@@ -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 () {
--
Quoted 2 lines

1.9.1

Merged. Thank you.

Signature · 2 lines
*Andrei Gherzan*
m: +40.744.478.414 |  f: +40.31.816.28.12