From: Bruce Ashfield <[email protected]> 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 a RDEPENDS, and install common configuration files. In the future, additional functionality or dependencies will be added here to synchronize the configuration of multiple container host packages. Signed-off-by: Bruce Ashfield <[email protected]> --- classes/container-host.bbclass | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 classes/container-host.bbclass diff --git a/classes/container-host.bbclass b/classes/container-host.bbclass new file mode 100644 index 0000000..99a75fe --- /dev/null +++ b/classes/container-host.bbclass @@ -0,0 +1,15 @@ +# This class is the collection point for automatic dependencies, +# package installs, rootfs postprocessing, etc, that are used +# by container host images and recipes. + +# It currently is largely empty, and simply adds RDEPENDS, but +# will expand to CRI/CNI configurations in the future. +# + +RDEPENDS:${PN}:append = " container-host-config" + +do_install:append() { + # placeholder for additional package install, or configuration + # of the rootfs + true +} -- 2.37.1
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#7914): https://lists.yoctoproject.org/g/meta-virtualization/message/7914 Mute This Topic: https://lists.yoctoproject.org/mt/97311050/21656 Group Owner: [email protected] Unsubscribe: https://lists.yoctoproject.org/g/meta-virtualization/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
