mirror of
git://git.yoctoproject.org/meta-virtualization.git
synced 2025-07-19 12:50:22 +02:00

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 <Qi.Chen@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
21 lines
695 B
BlitzBasic
21 lines
695 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 \
|
|
file://policy.json \
|
|
"
|
|
|
|
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
|
|
install ${WORKDIR}/policy.json ${D}/${sysconfdir}/containers/policy.json
|
|
}
|