]> code.ossystems Code Review - openembedded-core.git/commit
package: Keep global pkgfiles[] up to date when snapping library symlinks
authorPhil Blundell <pb@pbcl.net>
Fri, 10 Jan 2014 14:38:32 +0000 (14:38 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 10 Jan 2014 15:14:02 +0000 (15:14 +0000)
commitbdad58c51dfdda5253933c3e371a7d526cdbb67e
tree5baaedf2b182b70d5b03b00ca3fde69a8950e486
parent507199e57acfcc99639dc2c53abe194d77d60866
package: Keep global pkgfiles[] up to date when snapping library symlinks

Since ca86603607a69a17cc5540d69de0e242b33382d3 we are now calling stat() on
all the pkgfiles[] during emit_pkgdata().  If symlink snapping has removed
some of the files then we will blow up trying to stat a path that no longer
exists.  Fix that by ensuring that pkgfiles[] is updated when we process the
list of library renames.

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