I've merged this locally, but it's still in testing (sorry it's taking so long).
--Mark
On 3/11/22 4:34 PM, Mark Hatle wrote:
Thanks. I'll try to get this merged over the weekend or Monday.
On 3/8/22 7:18 PM, quanyang.wang wrote:
From: Quanyang Wang <[email protected]>
If e._depgraph['tdepends'] contains "initramfs-boot.do_configure",
"fs-boot.do_configure" in "initramfs-boot.do_configure" will return
true, this means we way download xsct unnecessarily.
Use "==" instead of membership operator "in" can fix this.
Signed-off-by: Quanyang Wang <[email protected]>
---
V1 ---> V2:
V1 contains an unnecessary deletion.
---
classes/xsct-tarball.bbclass | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/classes/xsct-tarball.bbclass b/classes/xsct-tarball.bbclass
index 295a900..6f46a10 100644
--- a/classes/xsct-tarball.bbclass
+++ b/classes/xsct-tarball.bbclass
@@ -49,7 +49,7 @@ python xsct_event_extract() {
# Only a handful of targets/tasks need XSCT
tasks_xsct = [t + '.do_configure' for t in
d.getVar('XSCT_TARGETS').split()]
- xsct_buildtargets = [t for t in e._depgraph['tdepends'] for x in
tasks_xsct if x in t]
+ xsct_buildtargets = [t for t in e._depgraph['tdepends'] for x in
tasks_xsct if x == t]
if not xsct_buildtargets and d.getVar('FORCE_XSCT_DOWNLOAD') != '1':
return
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#4970):
https://lists.yoctoproject.org/g/meta-xilinx/message/4970
Mute This Topic: https://lists.yoctoproject.org/mt/89652906/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/meta-xilinx/unsub
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-