meta-virtualization/recipes-containers/container-host-config/container-host-config.bb
Bruce Ashfield a0baf4ed45 containers: add container-host-config recipe
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 <bruce.ashfield@gmail.com>
2023-02-17 15:21:53 -05:00

19 lines
596 B
BlitzBasic

HOMEPAGE = "https://git.yoctoproject.org/meta-virtualization"
SUMMARY = "Configuration Package for container hosts"
DESCRIPTION = "Common / centralized configuration files for container hosts"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
SRC_URI = " \
file://storage.conf \
file://registries.conf \
"
do_install() {
install -d ${D}/${sysconfdir}/containers
install ${WORKDIR}/storage.conf ${D}/${sysconfdir}/containers/storage.conf
install ${WORKDIR}/registries.conf ${D}/${sysconfdir}/containers/registries.conf
}