archiver.bbclass: Fix for do_populate_sdk
cover archiver.bbclass: Fix for do_populate_sdk
The following changes since commit ce6c50ea68c34e02b487d54fdd9288e04833cdef:
wayland: fix condition for strndup detection (2020-05-14 14:13:50 +0100)
are available in the Git repository at:
git://git.openembedded.org/openembedded-core-contrib rbt/archiver
http://cgit.openembedded.org/openembedded-core-contrib/log/?h=rbt/archiver
Robert Yang (1):
archiver.bbclass: Fix for do_populate_sdk
meta/classes/archiver.bbclass | 4 ++++ 1 file changed, 4 insertions(+)
Signature · 1 line
2.21.0
PATCH 1/1 archiver.bbclass: Fix for do_populate_sdk
Fixed:
$ bitbake core-image-minimal -cpopulate_sdk
Check tmp-glibc/deploy/sources, no source is archived, this patch fixes the problem.
--- meta/classes/archiver.bbclass | 4 ++++ 1 file changed, 4 insertions(+)
meta/classes/archiver.bbclass +4 -0
@@ -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') }
Signature · 1 line
2.21.0
Robert,
I recommend we use the following patch instead as it's simpler:
https://lists.openembedded.org/g/openembedded-core/message/136168
Thanks,
Paul
Quoted 31 lines · Robert Yang
Fixed:
$ bitbake core-image-minimal -cpopulate_sdkCheck tmp-glibc/deploy/sources, no source is archived, this patch fixes the problem.
Signed-off-by Robert Yang <[email protected]>--- meta/classes/archiver.bbclass | 4 ++++ 1 file changed, 4 insertions(+)meta/classes/archiver.bbclass +4
-0@@ -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')
}
--
2.21.0
Quoted 3 lines · Paul Barker
Robert,
I recommend we use the following patch instead as it's simpler: https://lists.openembedded.org/g/openembedded-core/message/136168
Yes, that looks better, then please ignore my patch.
// Robert
Quoted 38 lines
Thanks,
PaulOn Fri, 15 May 2020 at 10:31, Robert Yang <[email protected] <mailto:[email protected]>> wrote:
Fixed:
$ bitbake core-image-minimal -cpopulate_sdkCheck tmp-glibc/deploy/sources, no source is archived, this patch fixes the problem.
Signed-off-by Robert Yang <[email protected]<mailto:[email protected]>>
---
meta/classes/archiver.bbclass | 4 ++++
1 file changed, 4 insertions(+)diff --git a/meta/classes/archiver.bbclass b/meta/classes/archiver.bbclass index
48b4913a9f..49f96bdce6100644
--- 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). ifbb.data.inherits_class('kernel-yocto', d):
bb.build.addtask('do_kernel_configme', 'do_configure',
'do_unpack_and_patch', d)
+
+ # Forpopulate_sdk
+ ifbb.data.inherits_class('image', d):
+d.appendVarFlag('do_populate_sdk', 'recrdeptask', ' do_deploy_archives')
}
--
2.21.0