meta-virtualization/recipes-containers/container-host-config/container-host-config.bb
Bruce Ashfield d190fb4a13 container-host-config: convert remaining WORKDIR references to UNPACKDIR
While the WORKDIR references seem to work, they may not continue
to work. We switch to using UNPACKDIR which is where the SRC_URI
referenced elements / files will be placed by the fetcher.

We also explicitly set S to point to the UNPACKDIR to avoid a
build warning.

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2024-05-29 13:16:56 +00:00

25 lines
755 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 \
"
S="${UNPACKDIR}"
do_install() {
install -d ${D}/${sysconfdir}/containers
install ${UNPACKDIR}/storage.conf ${D}/${sysconfdir}/containers/storage.conf
install ${UNPACKDIR}/registries.conf ${D}/${sysconfdir}/containers/registries.conf
install ${UNPACKDIR}/policy.json ${D}/${sysconfdir}/containers/policy.json
}
BBCLASSEXTEND = "native nativesdk"