mirror of
https://git.yoctoproject.org/poky
synced 2026-04-30 21:32:13 +02:00
populate_sdk_ext: Fix second bb_unihashes reference
A previous fix for zero length bb_unihashes.dat files wasn't complete as there is a second copy of the unihashes file made. Change this second call site to match the first to fully fix the zero length file issue. (From OE-Core rev: 962bd78af1acc86b3d900dce9081ed310616e0fa) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
@@ -491,10 +491,10 @@ python copy_buildsystem () {
|
||||
else:
|
||||
tasklistfn = None
|
||||
|
||||
if os.path.exists(builddir + '/cache/bb_unihashes.dat'):
|
||||
bb.parse.siggen.save_unitaskhashes()
|
||||
bb.utils.mkdirhier(os.path.join(baseoutpath, 'cache'))
|
||||
shutil.copyfile(builddir + '/cache/bb_unihashes.dat', baseoutpath + '/cache/bb_unihashes.dat')
|
||||
|
||||
cachedir = os.path.join(baseoutpath, 'cache')
|
||||
bb.utils.mkdirhier(cachedir)
|
||||
bb.parse.siggen.copy_unitaskhashes(cachedir)
|
||||
|
||||
# Add packagedata if enabled
|
||||
if d.getVar('SDK_INCLUDE_PKGDATA') == '1':
|
||||
|
||||
Reference in New Issue
Block a user