Bug 15706 - Detect if downloads are limited to do_fetch and inform user
Summary: Detect if downloads are limited to do_fetch and inform user
Status: NEW
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: oe-core other (show other bugs)
Version: unspecified
Hardware: x86 Multiple
: Medium+ enhancement
Target Milestone: 6.1 M2
Assignee: Robert Yang
QA Contact:
URL:
Whiteboard: backport
Depends on:
Blocks:
 
Reported: 2025-01-06 17:55 UTC by Mark Hatle
Modified: 2026-04-02 15:18 UTC (History)
1 user (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: Yes (doc changes required)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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?