You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Then the petalinux-config command fails with a traceback as below:
[INFO] Generating plnxtool conf file
Traceback (most recent call last):
File "/home/plnx-build/build/dgc219_nsg/dgc219/components/yocto/layers/meta-xilinx/meta-xilinx-core/gen-machine-conf/gen-machineconf", line 439, in <module>
ret = main()
File "/home/plnx-build/build/dgc219_nsg/dgc219/components/yocto/layers/meta-xilinx/meta-xilinx-core/gen-machine-conf/gen-machineconf", line 426, in main
plnx_conf_file = generate_plnx_config(args, machine_conf_file, hw_flow)
File "/home/plnx-build/build/dgc219_nsg/dgc219/components/yocto/layers/meta-xilinx/meta-xilinx-core/gen-machine-conf/gen_plnx_machine.py", line 265, in generate_plnx_config
override_string += generate_mirrors(args, arch)
File "/home/plnx-build/build/dgc219_nsg/dgc219/components/yocto/layers/meta-xilinx/meta-xilinx-core/gen-machine-conf/xilinx_mirrors.py", line 114, in generate_mirrors
mirrrs_string += 'SOURCE_MIRROR_URL = "%s"\n' % pre_mirror_url
UnboundLocalError: local variable 'mirrrs_string' referenced before assignment
Looking at xilinx_mirrors.py there is a typo in the variable mirrors_string (typed as mirrrs_string) on line 114.
I've found a workaround of adding a trailing / at the end of CONFIG_PRE_MIRROR_URL for now.
The text was updated successfully, but these errors were encountered:
Hi,
I'm using Petalinux 2023.1 but I suspect this issue applies to other versions too. If CONFIG_PRE_MIRROR_URL is set to the exact default URL of:
(e.g "http://petalinux.xilinx.com/sswreleases/rel-v2023/downloads"
Then the petalinux-config command fails with a traceback as below:
Looking at xilinx_mirrors.py there is a typo in the variable
mirrors_string
(typed asmirrrs_string
) on line 114.I've found a workaround of adding a trailing / at the end of CONFIG_PRE_MIRROR_URL for now.
The text was updated successfully, but these errors were encountered: