sdk-ng icon indicating copy to clipboard operation
sdk-ng copied to clipboard

setup.sh wget invocation doesn't work with wget2 in newer distros: "Unknown option 'show-progress'"

Open karlp opened this issue 1 year ago • 0 comments
trafficstars

The wget --show-progress line here https://github.com/zephyrproject-rtos/sdk-ng/blob/main/scripts/template_setup_posix#L218 doesn't work with the wget2 installed as wget on, for instance, fedora40.

I'm not sure what the right solution here is :)

using --progress=bar:force instead of --show-progress appears to be both forwards and backwards compatible, but I don't have extensive tests, just reading the man pages for both versions.

karlp avatar Jun 21 '24 15:06 karlp