Skip to contentSkip to conversation

Denys Dmytriyenko : netbase: fix file search path for 'interfaces' file

PATCH Arago Project git 1 participant 1 message Jan 16, 2013

lore
Share & tools
lore
#0 lore raw
Module: meta-ti
Branch: danny
Commit: 1e898d9b619545dadf2ececad81cd58cdf37c8cd
URL:    http://arago-project.org/git/meta-ti.git?a=commit;h=1e898d9b619545dadf2ececad81cd58cdf37c8cd
Author: Denys Dmytriyenko <[email protected]>
Date:   Wed Jan 16 12:29:57 2013 -0500

netbase: fix file search path for 'interfaces' file

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.

---

 recipes-core/netbase/netbase_5.0.bbappend |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)
recipes-core/netbase/netbase_5.0.bbappend +1 -3
index 4b8d0e6..5622303 100644
@@ -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}:"