mirror of
git://git.yoctoproject.org/meta-virtualization.git
synced 2025-07-19 20:59:41 +02:00
containers: introduce container-host class
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 <bruce.ashfield@gmail.com>
This commit is contained in:
parent
29bf13e5f6
commit
aae4d38546
15
classes/container-host.bbclass
Normal file
15
classes/container-host.bbclass
Normal file
|
@ -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
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user