netbase: fix file search path for 'interfaces' file
authorDenys Dmytriyenko <denys@ti.com>
Wed, 16 Jan 2013 17:29:57 +0000 (12:29 -0500)
committerDenys Dmytriyenko <denys@ti.com>
Wed, 16 Jan 2013 17:29:57 +0000 (12:29 -0500)
This .bbappend file is used to override the 'interfaces' file for certain
targets. The current version is broken in that it does not search the correct
path(s).

Thanks to Robert P. J. Day and Gary Thomas for spotting the issue and providing
patches.

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
recipes-core/netbase/netbase_5.0.bbappend

index 4b8d0e656be741bd2b713d3944c7bc95bf978de2..56223033bd1c8fc531861afb5a7b641ff5b47f85 100644 (file)
@@ -1,3 +1 @@
-THISDIR := "${@os.path.dirname(bb.data.getVar('FILE', d, True))}"
-FILESPATH =. "${@base_set_filespath(["${THISDIR}/${PN}"], d)}:"
-
+FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}-${PV}:"