Bug 15706

Summary: Detect if downloads are limited to do_fetch and inform user
Product: [Build System, Metadata & Runtime] OE-Core Reporter: Mark Hatle <mark.hatle>
Component: oe-core otherAssignee: Robert Yang <liezhi.yang>
Status: NEW --- QA Contact:
Severity: enhancement    
Priority: Medium+ CC: randy.macleod
Version: unspecified   
Target Milestone: 6.1 M2   
Hardware: x86   
OS: Multiple   
Whiteboard: backport
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: Yes (doc changes required)

Description Mark Hatle 2025-01-06 17:55:43 UTC
Would like a way to detect if the build system is limiting downloads to do_fetch.  Then add some sort of banner before, during, after? the summary at the top of the log to make it clear that downloads are (or are not) blocked in a particular build.

This will help both diagnosing problems, informing people to adjust host configurations to enable the blocking, and help developers avoid non-do_fetch download problems with properly configured hosts.
Comment 1 Randy MacLeod 2025-01-09 15:47:19 UTC
Restating:

When the build starts there should be a summary banner explaining if the mechanism for isolating the network access to only the do_fetch stage is functional or not.
Comment 2 Randy MacLeod 2025-07-03 15:26:44 UTC
Some progress in that yocto-check-layer complains now:
https://git.openembedded.org/openembedded-core/commit/?id=e95b3bd194e294412bc0419c9c74abfc2f37406f

but I expect that there is more to do...
Comment 3 Randy MacLeod 2026-04-02 15:18:49 UTC
Robert, do we already have a patch to add a banner warning?
If not, can you or someone on the team do that, please?