docker-distribution: 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.

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
This commit is contained in:
Bruce Ashfield 2024-05-28 13:17:03 +00:00
parent d190fb4a13
commit 01a6b4771f

View File

@ -48,7 +48,7 @@ do_install() {
if ${@bb.utils.contains('DISTRO_FEATURES','systemd','true','false',d)}; then if ${@bb.utils.contains('DISTRO_FEATURES','systemd','true','false',d)}; then
install -d ${D}${systemd_unitdir}/system install -d ${D}${systemd_unitdir}/system
install -m 644 ${WORKDIR}/docker-registry.service ${D}/${systemd_unitdir}/system install -m 644 ${UNPACKDIR}/docker-registry.service ${D}/${systemd_unitdir}/system
fi fi
install -d ${D}/${sysconfdir}/docker-distribution/registry/ install -d ${D}/${sysconfdir}/docker-distribution/registry/