All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/1] RFC Bug in PREMIRROR
@ 2021-09-01 19:44 Vishal Patel
  2021-09-01 19:44 ` [PATCH 1/1] tests/fetch.py: Add test case to verify PREMIRROR with mix of remote and local Vishal Patel
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Vishal Patel @ 2021-09-01 19:44 UTC (permalink / raw)
  To: bitbake-devel; +Cc: mark.hatle, Vishal Patel

I think we found a bug in the PREMIRROR system where if both a remote and local
PREMIRROR is defined, as well as BB_NO_NETWORK = '1', the system will fail with

bb.fetch2.NetworkAccess: Network access disabled through BB_NO_NETWORK (or set indirectly due to use of BB_FETCH_PREMIRRORONLY)

instead of trying the next PREMIRROR which is a local file:// based one.
The attached patch only adds a test case for the issue, but does not fix the problem.
If anyone can point me to where to fix the problem, I can work on this.

Vishal Patel (1):
  tests/fetch.py: Add test case to verify PREMIRROR with mix of remote
    and local

 lib/bb/tests/fetch.py | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)

--
2.25.1

This email and any attachments are intended for the sole use of the named recipient(s) and contain(s) confidential information that may be proprietary, privileged or copyrighted under applicable law. If you are not the intended recipient, do not read, copy, or forward this email message or any attachments. Delete this email message and any attachments immediately.

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2021-09-01 21:48 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-01 19:44 [PATCH 0/1] RFC Bug in PREMIRROR Vishal Patel
2021-09-01 19:44 ` [PATCH 1/1] tests/fetch.py: Add test case to verify PREMIRROR with mix of remote and local Vishal Patel
2021-09-01 19:55 ` [bitbake-devel] [PATCH 0/1] RFC Bug in PREMIRROR Mark Hatle
2021-09-01 21:40 ` Richard Purdie
2021-09-01 21:46   ` Mark Hatle
2021-09-01 21:48     ` Richard Purdie

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.