@@ -177,10 +177,12 @@ python base_do_unpack() {
try:
fetcher = bb.fetch2.Fetch(src_uri, d)
- fetcher.unpack(d.getVar('UNPACKDIR'))
+ fetcher.unpack(unpackdir)
except bb.fetch2.BBFetchException as e:
bb.fatal("Bitbake Fetcher Error: " + repr(e))
+ oe.utils.write_file_manifest(unpackdir, workdir + "/unpack-manifest.json", extract_lic=True, ignore_dirs=[".git"])
+
if basedir and os.path.exists(unpackdir + '/' + basedir):
# Compatibility magic to ensure ${WORKDIR}/git and ${WORKDIR}/${BP}
# as often used in S work as expected.
Writes a manifest of files unpacked in do_unpack Signed-off-by: Joshua Watt <JPEWhacker@gmail.com> --- meta/classes-global/base.bbclass | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)