mirror of
git://git.yoctoproject.org/meta-virtualization.git
synced 2025-07-19 12:50:22 +02:00
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>
This commit is contained in:
parent
27db959787
commit
d190fb4a13
|
@ -11,12 +11,14 @@ SRC_URI = " \
|
|||
file://policy.json \
|
||||
"
|
||||
|
||||
S="${UNPACKDIR}"
|
||||
|
||||
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
|
||||
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"
|
||||
|
|
Loading…
Reference in New Issue
Block a user