Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add retry in runfetchcmd, in case network unstable #22

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

lxf888879
Copy link

when network is unstable, bitbake do_fetch will throw an error and stop the whole project building, it will waste a lot of time when the network is bad, so add retry mechanism in runfetchcmd to make project building more stable.

@niecore
Copy link

niecore commented Jun 25, 2020

Any feedback why this is not reviewed?

@lxf888879
Copy link
Author

lxf888879 commented Jul 2, 2020 via email

@abuzarra
Copy link

is there any plan to merge this patch?
Network issues are a very common issue, losing many time when we need to relaunch it.

@niecore
Copy link

niecore commented Jan 21, 2021

Hello, you can change your fetch behaviors also with the Variable:

FETCHCMD_wget

@lxf888879
Copy link
Author

lxf888879 commented Jan 22, 2021 via email

@qcq
Copy link

qcq commented Nov 9, 2022

I do not know if here is reasonable place to give some comments
I first use the yocto, which bitbake first compile image, which will download many packages, which slow.
specifically for some bigger package, which last too much time.
I am thinking if there have plan replace wget with aria2.

@Kochise
Copy link

Kochise commented Dec 12, 2023

How is this not yet merged ?

https://www.google.com/search?q=yocto+do_fetch+fail

do_fetch is very sensitive to network "instability" (BitTorrent isn't, even Microsoft rely on a similar protocol for its updates).

@Kochise
Copy link

Kochise commented Dec 12, 2023

#34

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants