Re: [yocto] Bitbake fetch does not re-fetch from network if gitrepo is found in DL_DIR

[email protected]
Newsgroups org.yoctoproject.lists.yocto
Message-ID <[email protected]>
Thanks a lot, Gyorgy, for your feedback. Maybe a bit of background what we are trying to do.

We have the following situation - we call it "top-up":
We start bitbake fetch as described with DL_DIR containing the sources of a previous release.
The state cache is empty.
The idea is that bitbake fetch only re-fetches repos which are not up-to-date.

In a regular release, we always fetch all sources anew from upstream (debatable if this is the right approach). At the end of the release we archive all sources of the dl folder. We do not archive the sstate cache.

For reproducing a release we take the archive of the release and rebuild without network (BB_NONETWORK)

The motivation for "top-up" came from last week's outage of cloudflare: we urgently needed to issue a release, but one upstream server was down. So we used dl archive of previous release, removed the "BB_NONETWORK and hoped it would fetch the missing stuff (in my example some commits of the kernel) and then we can build.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.