<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/meta-virtualization.git/recipes-containers/container-host-config, branch master</title>
<subtitle>Mirror of git.yoctoproject.org/meta-virtualization</subtitle>
<id>https://git.enea.com/cgit/linux/meta-virtualization.git/atom?h=master</id>
<link rel='self' href='https://git.enea.com/cgit/linux/meta-virtualization.git/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-virtualization.git/'/>
<updated>2026-06-12T02:58:55+00:00</updated>
<entry>
<title>container-host-config: update registries.conf to v2 format</title>
<updated>2026-06-12T02:58:55+00:00</updated>
<author>
<name>Bruce Ashfield</name>
<email>bruce.ashfield@gmail.com</email>
</author>
<published>2026-06-04T17:32:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-virtualization.git/commit/?id=a6bc5a8e75cd70856f9e67714c1ed45ee864f734'/>
<id>urn:sha1:a6bc5a8e75cd70856f9e67714c1ed45ee864f734</id>
<content type='text'>
Podman 6.0 rejects the v1 registries.conf format entirely, failing
with "registries.conf must be in v2 format but is in v1" at runtime.
The old format used [registries.search] with registries = [...] syntax
which was deprecated for years. Docker is unaffected — it does not
read registries.conf.

Signed-off-by: Bruce Ashfield &lt;bruce.ashfield@gmail.com&gt;
</content>
</entry>
<entry>
<title>container-cross-install: add bbclass for bundling containers into images</title>
<updated>2026-02-09T03:32:52+00:00</updated>
<author>
<name>Bruce Ashfield</name>
<email>bruce.ashfield@gmail.com</email>
</author>
<published>2026-01-01T17:08:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-virtualization.git/commit/?id=c32e1081c81ba27f0d5a21a1885601f04d329d21'/>
<id>urn:sha1:c32e1081c81ba27f0d5a21a1885601f04d329d21</id>
<content type='text'>
This class enables bundling pre-built OCI containers into Yocto images
at build time. It uses vdkr/vpdmn to process containers via QEMU,
producing properly formatted storage that can be merged into the
target rootfs.

Two mechanisms for bundling containers:

1. BUNDLED_CONTAINERS variable (direct specification):
   - Set in local.conf or image recipe
   - Format: "name:runtime[:autostart][:external]"
   - Dependencies auto-generated at parse time
   - Example: BUNDLED_CONTAINERS = "container-base:docker:autostart"

2. container-bundle packages (package-based):
   - Recipes inherit container-bundle.bbclass to create packages
   - Installing packages via IMAGE_INSTALL triggers processing
   - merge_installed_bundles() scans installed OCI directories
   - Runs vrunner once in batch-import mode for efficiency

Automatic dependency generation for BUNDLED_CONTAINERS:
- Parses entries at recipe parse time via python __anonymous()
- Derives recipe name from OCI dir names (strips -latest-oci/-oci suffix)
- Generates do_rootfs[depends] on recipe:do_image_complete
- Use :external tag to skip dependency for third-party blobs
- Single "bitbake container-image-host" builds containers + image

Usage in image recipe:
    inherit container-cross-install

Features:
- Automatic detection of target architecture
- Support for both Docker and Podman runtimes
- Batch import mode for efficiency with multiple containers
- Autostart support via systemd services (Docker) or Quadlet (Podman)
- Integration with vrunner for QEMU-based processing
- Backwards compatible with legacy -latest-oci naming convention

The class processes containers during do_rootfs and merges the
resulting storage into /var/lib/docker or /var/lib/containers.

Signed-off-by: Bruce Ashfield &lt;bruce.ashfield@gmail.com&gt;
</content>
</entry>
<entry>
<title>metadata: add whitespace around assignments</title>
<updated>2025-04-03T17:56:53+00:00</updated>
<author>
<name>Martin Jansa</name>
<email>martin.jansa@gmail.com</email>
</author>
<published>2025-04-02T15:59:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-virtualization.git/commit/?id=c01273e001d033678bde91bc215cb05fd15e95cf'/>
<id>urn:sha1:c01273e001d033678bde91bc215cb05fd15e95cf</id>
<content type='text'>
With:
https://lists.openembedded.org/g/bitbake-devel/message/17508
there are many WARNINGs from this layer will cover src_uri.inc files
in next commit.

Signed-off-by: Martin Jansa &lt;martin.jansa@gmail.com&gt;
Signed-off-by: Bruce Ashfield &lt;bruce.ashfield@gmail.com&gt;
</content>
</entry>
<entry>
<title>container-host-config: Remove centos registry</title>
<updated>2024-11-02T04:02:34+00:00</updated>
<author>
<name>Lukasz Czechowski</name>
<email>lukasz.czechowski@thaumatec.com</email>
</author>
<published>2024-10-21T15:02:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-virtualization.git/commit/?id=b4fe1f4933a754c4c869a3e47a9772d71987b3f5'/>
<id>urn:sha1:b4fe1f4933a754c4c869a3e47a9772d71987b3f5</id>
<content type='text'>
Update registry list by removing 'registry.centos.org' entry.
This registry is no longer available.
Decommissioning of the registry was announced in the thread:
https://lists.centos.org/hyperkitty/list/devel@lists.centos.org/thread/EHGCQUHLDQ6LI474ZAB7MPRZFJD77P3S/

Signed-off-by: Lukasz Czechowski &lt;lukasz.czechowski@thaumatec.com&gt;
Signed-off-by: Bruce Ashfield &lt;bruce.ashfield@gmail.com&gt;
</content>
</entry>
<entry>
<title>container-host-config: convert remaining WORKDIR references to UNPACKDIR</title>
<updated>2024-05-29T13:16:56+00:00</updated>
<author>
<name>Bruce Ashfield</name>
<email>bruce.ashfield@gmail.com</email>
</author>
<published>2024-05-28T13:17:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-virtualization.git/commit/?id=d190fb4a1372bdc3300d18ef28841505a77e00f3'/>
<id>urn:sha1:d190fb4a1372bdc3300d18ef28841505a77e00f3</id>
<content type='text'>
While the WORKDIR references seem to work, they may not continue
to work. We switch to using UNPACKDIR which is where the SRC_URI
referenced elements / files will be placed by the fetcher.

We also explicitly set S to point to the UNPACKDIR to avoid a
build warning.

Signed-off-by: Bruce Ashfield &lt;bruce.ashfield@gmail.com&gt;
</content>
</entry>
<entry>
<title>container-host-config:storage.conf: sync with libpod v4.8.2</title>
<updated>2024-02-01T14:15:13+00:00</updated>
<author>
<name>Ming Liu</name>
<email>liu.ming50@gmail.com</email>
</author>
<published>2024-01-29T17:41:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-virtualization.git/commit/?id=eccd6f11b881d51bbb4691c0d12b72d16cd60ca9'/>
<id>urn:sha1:eccd6f11b881d51bbb4691c0d12b72d16cd60ca9</id>
<content type='text'>
The current storage.conf is based on v1.33.0 of:
https://github.com/containers/storage.git

while in podman v4.8.2, it has been upgraded to
v1.50.3-0.20231005112617-44418abb2d89 of:
https://github.com/containers/storage.git

let's sync it with podman v4.8.2.

which comprises the following commits in storage.conf:

```
42d1d9637 Run codespell on code
91da0c2be add documentation on imagestore and add a warning if set
01fccaa58 options: enable Remap-User/Group setting
e125790e9 Fix typo in storage.conf
57582350c Document transient_store in man page
522b67c94 Add new storage.conf option "transient_store"
5e9e2ba6b Revert incorrect "heeded" -&gt; "needed" typo fix
cffa19709 fix typos and spelling
268af0001 chunked: drop host dedup feature
b64cfb4f4 Document the pull_options
17fccdc2d Clearup inheritance rules for storage.conf
3c76f174d Tell users who change graphroot location to fix the SELinux labels
```

Signed-off-by: Ming Liu &lt;liu.ming50@gmail.com&gt;
Signed-off-by: Bruce Ashfield &lt;bruce.ashfield@gmail.com&gt;
</content>
</entry>
<entry>
<title>container-host-config: extend to native and nativesdk</title>
<updated>2023-02-21T15:11:48+00:00</updated>
<author>
<name>Chen Qi</name>
<email>Qi.Chen@windriver.com</email>
</author>
<published>2023-02-20T04:54:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-virtualization.git/commit/?id=2b845f961dd9599d6b34b4c1561c6e77ced14b7e'/>
<id>urn:sha1:2b845f961dd9599d6b34b4c1561c6e77ced14b7e</id>
<content type='text'>
skopeo rdepends on it, and skopeo has been extended to native and
nativesdk, so container-host-config needs also be extended.

Signed-off-by: Chen Qi &lt;Qi.Chen@windriver.com&gt;
Signed-off-by: Bruce Ashfield &lt;bruce.ashfield@gmail.com&gt;
</content>
</entry>
<entry>
<title>container-host-config: provide /etc/containers/policy.json</title>
<updated>2023-02-21T15:11:47+00:00</updated>
<author>
<name>Chen Qi</name>
<email>Qi.Chen@windriver.com</email>
</author>
<published>2023-02-20T04:54:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-virtualization.git/commit/?id=a1bb5d0ab0c2828508d080c5c4bfa97bd9786b64'/>
<id>urn:sha1:a1bb5d0ab0c2828508d080c5c4bfa97bd9786b64</id>
<content type='text'>
The /etc/containers/policy.json[1] file is used to specify verification
policy. For now, we can see it's used by both cri-o and skopeo. To avoid
conflict, we use container-host-config to provide this file and make both
skopeo and cri-o depend on it.

[1] https://github.com/containers/image/blob/main/docs/containers-policy.json.5.md

Signed-off-by: Chen Qi &lt;Qi.Chen@windriver.com&gt;
Signed-off-by: Bruce Ashfield &lt;bruce.ashfield@gmail.com&gt;
</content>
</entry>
<entry>
<title>containers: add container-host-config recipe</title>
<updated>2023-02-17T20:21:53+00:00</updated>
<author>
<name>Bruce Ashfield</name>
<email>bruce.ashfield@gmail.com</email>
</author>
<published>2023-02-17T20:16:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-virtualization.git/commit/?id=a0baf4ed455828c7aed068337547c3037969e643'/>
<id>urn:sha1:a0baf4ed455828c7aed068337547c3037969e643</id>
<content type='text'>
This is a configuration only recipe that produces a package which
installs some common configuration files.

In this introduction we have both registries.conf and storage.conf.

Packages that require these files should RDEPEND on this package
(or inherit container-host.bbclass) and the files will be installed.

If conflicting requirements for these global configuration files
arise, they can be resolved through additions to this recipe, or by
providing a higher priority version of the .conf files.

Signed-off-by: Bruce Ashfield &lt;bruce.ashfield@gmail.com&gt;
</content>
</entry>
</feed>
