yoctowgetbitbake

Remove wget argument from Yocto do_fetch


I'm using Yocto Mickledore, and my build fails on the do_fetch of multiple python libraries.

The log files show that the use of --passive-ftp as a wget argument is to blame.

DEBUG: Fetcher accessed the network with the command /usr/bin/env wget -t 2 -T 30 --passive-ftp -O /home/{username}/Documents/Yocto/poky/build/downloads/Flask-2.2.3.tar.gz.tmp -P /home/{username}/Documents/Yocto/poky/build/downloads 'https://files.pythonhosted.org/packages/source/F/Flask/Flask-2.2.3.tar.gz'
Unknown option 'passive-ftp'

Setting passive-ftp=no in .wgetrc had no effect.

How can I tell bitbake to not use the --passive-ftp argument?


Solution

  • I was able to update the wget command used by Yocto, with this line added to my local.conf.

    FETCHCMD_wget = "/usr/bin/wget"
    

    Yocto is now able to fetch the needed files.