diff options
| author | Bruce Ashfield <bruce.ashfield@gmail.com> | 2024-05-28 13:17:03 +0000 |
|---|---|---|
| committer | Bruce Ashfield <bruce.ashfield@gmail.com> | 2024-05-29 13:16:56 +0000 |
| commit | d190fb4a1372bdc3300d18ef28841505a77e00f3 (patch) | |
| tree | bc6060283b11f9dd5c31a8f6b74ea96971f86e09 | |
| parent | 27db959787748928e8e9f86fb68bbec56dad0f39 (diff) | |
| download | meta-virtualization-d190fb4a1372bdc3300d18ef28841505a77e00f3.tar.gz | |
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>
| -rw-r--r-- | recipes-containers/container-host-config/container-host-config.bb | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/recipes-containers/container-host-config/container-host-config.bb b/recipes-containers/container-host-config/container-host-config.bb index 80abddf0..eb047da9 100644 --- a/recipes-containers/container-host-config/container-host-config.bb +++ b/recipes-containers/container-host-config/container-host-config.bb | |||
| @@ -11,12 +11,14 @@ SRC_URI = " \ | |||
| 11 | file://policy.json \ | 11 | file://policy.json \ |
| 12 | " | 12 | " |
| 13 | 13 | ||
| 14 | S="${UNPACKDIR}" | ||
| 15 | |||
| 14 | do_install() { | 16 | do_install() { |
| 15 | install -d ${D}/${sysconfdir}/containers | 17 | install -d ${D}/${sysconfdir}/containers |
| 16 | 18 | ||
| 17 | install ${WORKDIR}/storage.conf ${D}/${sysconfdir}/containers/storage.conf | 19 | install ${UNPACKDIR}/storage.conf ${D}/${sysconfdir}/containers/storage.conf |
| 18 | install ${WORKDIR}/registries.conf ${D}/${sysconfdir}/containers/registries.conf | 20 | install ${UNPACKDIR}/registries.conf ${D}/${sysconfdir}/containers/registries.conf |
| 19 | install ${WORKDIR}/policy.json ${D}/${sysconfdir}/containers/policy.json | 21 | install ${UNPACKDIR}/policy.json ${D}/${sysconfdir}/containers/policy.json |
| 20 | } | 22 | } |
| 21 | 23 | ||
| 22 | BBCLASSEXTEND = "native nativesdk" | 24 | BBCLASSEXTEND = "native nativesdk" |
