mirror of
https://git.yoctoproject.org/poky
synced 2026-01-29 21:08:42 +01:00
package.bbclass: Fix shlibs race
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
This commit is contained in:
@@ -761,8 +761,6 @@ python package_do_shlibs() {
|
||||
postinst += bb.data.getVar('ldconfig_postinst_fragment', d, True)
|
||||
bb.data.setVar('pkg_postinst_%s' % pkg, postinst, d)
|
||||
|
||||
bb.utils.unlockfile(lf)
|
||||
|
||||
list_re = re.compile('^(.*)\.list$')
|
||||
for dir in [shlibs_dir]:
|
||||
if not os.path.exists(dir):
|
||||
@@ -783,6 +781,8 @@ python package_do_shlibs() {
|
||||
for l in lines:
|
||||
shlib_provider[l.rstrip()] = (dep_pkg, lib_ver)
|
||||
|
||||
bb.utils.unlockfile(lf)
|
||||
|
||||
assumed_libs = bb.data.getVar('ASSUME_SHLIBS', d, True)
|
||||
if assumed_libs:
|
||||
for e in assumed_libs.split():
|
||||
|
||||
Reference in New Issue
Block a user