diff options
| author | Bruce Ashfield <bruce.ashfield@gmail.com> | 2026-02-10 19:10:52 +0000 |
|---|---|---|
| committer | Bruce Ashfield <bruce.ashfield@gmail.com> | 2026-02-10 21:04:20 +0000 |
| commit | 5ca92e99dc0706c1dcda0edd29aec46a3ccdd851 (patch) | |
| tree | a2bc87ff9c66139e0e08933db023c70300d20b3f /recipes-containers/podman | |
| parent | a4625a1fa2758c0d2496a898ed409b5225efdab1 (diff) | |
| download | meta-virtualization-5ca92e99dc0706c1dcda0edd29aec46a3ccdd851.tar.gz | |
container tasks: move network access out of build chain
yocto-check-layer reports an error for any task between do_fetch and
do_build that has network enabled. Two changes fix this:
container-bundle.bbclass: Move do_fetch_containers from a standalone
task into a do_fetch postfunc. When remote containers are configured,
the anonymous function adds extend_recipe_sysroot as a do_fetch
prefunc (so skopeo-native is available) and do_fetch_containers as a
postfunc. Network access during do_fetch is permitted by the QA check.
container-registry-index: Remove do_container_registry_index from the
build dependency chain (drop "before do_build"). Registry push is a
deployment action requiring explicit invocation:
bitbake container-registry-index -c container_registry_index
The default do_build task now prints usage instructions.
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Diffstat (limited to 'recipes-containers/podman')
0 files changed, 0 insertions, 0 deletions
