summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2022-06-05 13:23:30 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2022-06-06 12:04:38 +0100
commit80ed5ee82d263368323831f40c554315c95b26db (patch)
treebf0e26c270440be53ba37cb07278fa8c44900031
parentbc47a27e14dc2a7151a34a77178d4edac2f090a5 (diff)
downloadpoky-80ed5ee82d263368323831f40c554315c95b26db.tar.gz
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>
-rw-r--r--meta/classes/populate_sdk_ext.bbclass8
1 files changed, 4 insertions, 4 deletions
diff --git a/meta/classes/populate_sdk_ext.bbclass b/meta/classes/populate_sdk_ext.bbclass
index 3ddbb46eda..d58b2ba5d0 100644
--- a/meta/classes/populate_sdk_ext.bbclass
+++ b/meta/classes/populate_sdk_ext.bbclass
@@ -491,10 +491,10 @@ python copy_buildsystem () {
491 else: 491 else:
492 tasklistfn = None 492 tasklistfn = None
493 493
494 if os.path.exists(builddir + '/cache/bb_unihashes.dat'): 494
495 bb.parse.siggen.save_unitaskhashes() 495 cachedir = os.path.join(baseoutpath, 'cache')
496 bb.utils.mkdirhier(os.path.join(baseoutpath, 'cache')) 496 bb.utils.mkdirhier(cachedir)
497 shutil.copyfile(builddir + '/cache/bb_unihashes.dat', baseoutpath + '/cache/bb_unihashes.dat') 497 bb.parse.siggen.copy_unitaskhashes(cachedir)
498 498
499 # Add packagedata if enabled 499 # Add packagedata if enabled
500 if d.getVar('SDK_INCLUDE_PKGDATA') == '1': 500 if d.getVar('SDK_INCLUDE_PKGDATA') == '1':