mirror of
https://git.yoctoproject.org/poky
synced 2026-05-02 18:32:15 +02:00
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. (From OE-Core rev: bdad58c51dfdda5253933c3e371a7d526cdbb67e) Signed-off-by: Phil Blundell <pb@pbcl.net> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
7ef0f55a95
commit
fef870956c
@@ -1475,6 +1475,8 @@ python package_do_shlibs() {
|
||||
for (old, new) in renames:
|
||||
bb.note("Renaming %s to %s" % (old, new))
|
||||
os.rename(old, new)
|
||||
pkgfiles[pkg].remove(old)
|
||||
|
||||
shlibs_file = os.path.join(shlibswork_dir, pkg + ".list")
|
||||
shver_file = os.path.join(shlibswork_dir, pkg + ".ver")
|
||||
if len(sonames):
|
||||
|
||||
Reference in New Issue
Block a user