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 23:37:57 +0000 (00:37 +0100)
commit2172e966f8b2e201717b9315a308e4e593fd6ebf
tree8d30e2062d569261be09333d6a711fc07ddbbb90
parentd4cadb252610d8f3e8c1c053212de6247f463822
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.

(From OE-Core rev: 138c5f3af892e33f576fc7dd268e122b179f82a1)

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