summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobert Yang <liezhi.yang@windriver.com>2020-05-15 11:49:29 +0800
committerRobert Yang <liezhi.yang@windriver.com>2020-05-15 02:29:17 -0700
commitab5e6c612d362589fa88a49fd36c4a0b1ecc1a37 (patch)
tree4408c3b1f46e6e119fc9cdb95ef344fd6ab0ea7a
parentce6c50ea68c34e02b487d54fdd9288e04833cdef (diff)
downloadopenembedded-core-contrib-rbt/archiver.tar.gz
openembedded-core-contrib-rbt/archiver.tar.bz2
openembedded-core-contrib-rbt/archiver.zip
archiver.bbclass: Fix for do_populate_sdkrbt/archiver
Fixed: $ bitbake core-image-minimal -cpopulate_sdk Check tmp-glibc/deploy/sources, no source is archived, this patch fixes the problem. Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
-rw-r--r--meta/classes/archiver.bbclass4
1 files changed, 4 insertions, 0 deletions
diff --git a/meta/classes/archiver.bbclass b/meta/classes/archiver.bbclass
index 48b4913a9f..49f96bdce6 100644
--- a/meta/classes/archiver.bbclass
+++ b/meta/classes/archiver.bbclass
@@ -592,4 +592,8 @@ python () {
# gets added or removed (by adding or removing archiver.bbclass).
if bb.data.inherits_class('kernel-yocto', d):
bb.build.addtask('do_kernel_configme', 'do_configure', 'do_unpack_and_patch', d)
+
+ # For populate_sdk
+ if bb.data.inherits_class('image', d):
+ d.appendVarFlag('do_populate_sdk', 'recrdeptask', ' do_deploy_archives')
}