[meta-virtualization] [PATCH] yq: remove .git suffix for cobra component

2023-03-01 Thread Yu, Mingli
From: Mingli Yu Remove the '.git' suffix of the cobra in SRC_URI to make the cobra SRC_URI exactly the same among the recipes which define cobra to make sure two local git repos (Yocto supports fetching locally) which are the same. Signed-off-by: Mingli Yu --- recipes-devtools/yq/yq_git.bb |

Re: [meta-virtualization] query on docker support changes in yocto

2023-03-01 Thread SIMON BABY
Hello Bruce, Of course, you won't always see the daemon running on startup, as there are socket and other systemd triggers that will launch the daemon when required (and it will continue to run after that). Simon> The daemon is not starting by default after every boot. I need to type any docker

[meta-virtualization][kirkstone][PATCH 04/10] cri-o: update crio.conf to match the current version 1.23

2023-03-01 Thread Chen Qi
The old crio.conf file can cause cri-o start failure. The error message is as below. validating runtime config: runtime validation: failed to \ translate monitor fields for runtime runc: cgroupfs manager \ conmon cgroup should be 'pod' or empty Use new crio.conf file to solve this issue.

[meta-virtualization][kirkstone][PATCH 09/10] container-host-config: provide /etc/containers/policy.json

2023-03-01 Thread Chen Qi
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]

[meta-virtualization][kirkstone][PATCH 10/10] container-host-config: extend to native and nativesdk

2023-03-01 Thread Chen Qi
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 Signed-off-by: Bruce Ashfield --- .../container-host-config/container-host-config.bb | 2 ++ 1 file changed, 2 insertions(+) diff

[meta-virtualization][kirkstone][PATCH 07/10] skopeo: use container-host bbclass to provide configuration

2023-03-01 Thread Chen Qi
From: Bruce Ashfield Instead of providing storage and registries configuration files in this package, we inherit container-host which will provide a common definition of these configs. This allows multiple packages to ensure that the configuration files are present, and not conflict in their

[meta-virtualization][kirkstone][PATCH 08/10] README: remove some cri-o specific layer dependencies

2023-03-01 Thread Chen Qi
ostree is in meta-oe, libseccomp is in oe-core. So remove these two. Signed-off-by: Chen Qi Signed-off-by: Bruce Ashfield --- README | 2 -- 1 file changed, 2 deletions(-) diff --git a/README b/README index 1c75f4a..7a848bb 100644 --- a/README +++ b/README @@ -68,9 +68,7 @@ revision: HEAD

[meta-virtualization][kirkstone][PATCH 06/10] containers: add container-host-config recipe

2023-03-01 Thread Chen Qi
From: Bruce Ashfield 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

[meta-virtualization][kirkstone][PATCH 02/10] cri-o: use PACKAGECONFIG to handle selinux

2023-03-01 Thread Chen Qi
For cri-o, libselinux is optional, this can be seen from its Makefile. So let's make selinux optional by using PACKAGECONFIG, whose default value is determined by the DISTRO_FEATURES. In this way, meta-selinux dependency is not necessary. Signed-off-by: Chen Qi Signed-off-by: Bruce Ashfield ---

[meta-virtualization][kirkstone][PATCH 05/10] containers: introduce container-host class

2023-03-01 Thread Chen Qi
From: Bruce Ashfield Introducing a small (at the moment) class that represents configuration and processing required to prepare a target image to be a container host. A recipe that requires container configuration should inherit this class, and the container-host-config package will be added as

[meta-virtualization][kirkstone][PATCH 03/10] cri-o: create /var/lib/crio

2023-03-01 Thread Chen Qi
crio.service now reports the following error messages: level=error msg="Writing clean shutdown supported file: \ open /var/lib/crio/clean.shutdown.supported: no such file or directory" level=error msg="Failed to sync parent directory of clean \ shutdown file: open /var/lib/crio:

[meta-virtualization][kirkstone][PATCH 01/10] cri-o: remove meta-security check

2023-03-01 Thread Chen Qi
libseccomp is not in oe-core. There's no need to check meta-security any more. Signed-off-by: Chen Qi Signed-off-by: Bruce Ashfield --- recipes-containers/cri-o/cri-o_git.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes-containers/cri-o/cri-o_git.bb