[prev in list] [next in list] [prev in thread] [next in thread]
List: openembedded-issues
Subject: [Bug 4339] New: Value Error when "org.openembedded.dev/packages" is not listed first in BBFILES
From: bugzilla-daemon () amethyst ! openembedded ! net (bugzilla-daemon at amethyst ! openembed
Date: 2008-05-30 9:52:31
Message-ID: bug-4339-13 () http ! bugs ! openembedded ! net/
[Download RAW message or body]
http://bugs.openembedded.net/show_bug.cgi?id=4339
Summary: Value Error when "org.openembedded.dev/packages" is
not listed first in BBFILES
Classification: Unclassified
Product: Openembedded
Version: Angstrom 2008.x
Platform: ARM
OS/Version: Linux
Status: UNCONFIRMED
Severity: minor
Priority: P3
Component: org.openembedded.dev
AssignedTo: openembedded-issues at lists.openembedded.org
ReportedBy: emil at myhrman.name
If using a local .bb files path in BBFILES, "org.openembedded.dev/packages"
must be the first one in the list, or base.bbclass will raise a ValueError.
This is because 'BBFILES' is split by whitespace and then item 0 is assumed to
contain the string "packages".
def base_get_scmbasepath(d):
path_to_bbfiles = bb.data.getVar( 'BBFILES', d, 1 ).split()
return path_to_bbfiles[0][:path_to_bbfiles[0].rindex( "packages" )]
Also, this would give wrong result (because of split()) if using a whitespace
in your path, i.e 'foo\ bar/oe'. Or if your local path contains the string
"packages".
--
Configure bugmail: http://bugs.openembedded.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic