Thread (36 messages) 36 messages, 6 authors, 2021-11-24

Re: [bitbake-devel] [oe-core][PATCH 1/2] devtools: Initial recipe for repo 2.17.3

From: Richard Purdie <hidden>
Date: 2021-11-06 09:43:13
Also in: bitbake-devel

On Fri, 2021-11-05 at 14:09 +0000, Jasper Orschulko wrote:
Actually, I don't believe this to be an issue for the following
reasons:

[...]

2. When using repo within the yocto build itself (with the repo
fetcher), the repo binary is only ever called during the do_fetch step,
which obviously has no issues with any network access.
This is not true. The system may be configured for no network access and is
meant just to be building from MIRRORS/PREMIRRORS (see also BB_NO_NETWORK).

One of the reasons for the fetcher abstraction is to allow us to support
features like that. do_fetch is where network access should happen, if the
system is configured for it.

I guess the question becomes whether the usages of repo when using DL_DIR as a
cache will still touch the network?

Cheers,

Richard




Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help