]> code.ossystems Code Review - openembedded-core.git/commit
package.bbclass: Fix populate_packages for glob expansion issues
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 17 Apr 2013 14:06:24 +0000 (14:06 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 17 Apr 2013 15:18:19 +0000 (16:18 +0100)
commit138c5f3af892e33f576fc7dd268e122b179f82a1
tree22d8d6b8969dfa68c128aae4325156703221507f
parent82320d2074572477f26887eddc51dc2a1dfea403
package.bbclass: Fix populate_packages for glob expansion issues

If we put a valid glob like "*/foo/*" into FILES, populate_packages
breaks with a "file exists" message. This is because the glob expansion
does not have "./" prefix however there may already be an entry in
the seen list which does have such a prefix. The easiest/simplest fix
right now is to add the prefix if it doesn't exist which only happens
for certain globs.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/package.bbclass