Hi Chen,
This is already fixed
https://github.com/Xilinx/meta-xilinx/commit/f42c4f668932781a21ddb80fc33e4b2ffc94311f
for scarthgap release.
Thanks,
Sandeep
On 11/5/2024 9:58 PM, Qi.Chen via lists.yoctoproject.org wrote:
From: Chen Qi <[email protected]>
The yaml module is not used anywhere, there's no need to import it.
What's worse, this is problematic for populating eSDK. We'll get the
error like below:
File "/PATH/TO/meta-xilinx/meta-xilinx-core/lib/devtool/boot-jtag.py", line 14, in
<module>
import yaml
ModuleNotFoundError: No module named 'yaml'
The problem could be reproduced by running `bitbake <image> -c
populate_sdk_ext'.
The cause is that when running devtool in do_populate_sdk_ext, the python used
is from recipe-sysroot-native, and there's no yaml python module there.
Signed-off-by: Chen Qi <[email protected]>
---
meta-xilinx-core/lib/devtool/boot-jtag.py | 1 -
1 file changed, 1 deletion(-)
diff --git a/meta-xilinx-core/lib/devtool/boot-jtag.py
b/meta-xilinx-core/lib/devtool/boot-jtag.py
index 53d70262..51eb0dd4 100644
--- a/meta-xilinx-core/lib/devtool/boot-jtag.py
+++ b/meta-xilinx-core/lib/devtool/boot-jtag.py
@@ -11,7 +11,6 @@ import os
import logging
import argparse
from devtool import setup_tinfoil, parse_recipe, DevtoolError
-import yaml
import sys
import glob
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#5482):
https://lists.yoctoproject.org/g/meta-xilinx/message/5482
Mute This Topic: https://lists.yoctoproject.org/mt/109422059/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/meta-xilinx/unsub
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-