From 9388aae0f3abbccf5bc1e2dcf4c438aff9ea6790 Mon Sep 17 00:00:00 2001 From: Bruce Ashfield Date: Tue, 28 May 2024 13:17:03 +0000 Subject: [PATCH] libvirt: convert WORKDIR references to UNPACKDIR Converting WORDIR references to UNPACKDIR. Our generated keys and other references to WORKDIR continue to be fine. Signed-off-by: Bruce Ashfield --- recipes-extended/libvirt/libvirt_10.0.0.bb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/recipes-extended/libvirt/libvirt_10.0.0.bb b/recipes-extended/libvirt/libvirt_10.0.0.bb index 6b19b700..9ad1f798 100644 --- a/recipes-extended/libvirt/libvirt_10.0.0.bb +++ b/recipes-extended/libvirt/libvirt_10.0.0.bb @@ -195,8 +195,8 @@ do_install:append() { install -d ${D}/etc/libvirt install -d ${D}/etc/dnsmasq.d - install -m 0755 ${WORKDIR}/libvirtd.sh ${D}/etc/init.d/libvirtd - install -m 0644 ${WORKDIR}/libvirtd.conf ${D}/etc/libvirt/libvirtd.conf + install -m 0755 ${UNPACKDIR}/libvirtd.sh ${D}/etc/init.d/libvirtd + install -m 0644 ${UNPACKDIR}/libvirtd.conf ${D}/etc/libvirt/libvirtd.conf if ${@bb.utils.contains('DISTRO_FEATURES','sysvinit','true','false',d)}; then # This will wind up in the libvirtd package, but will NOT be invoked by default. @@ -255,12 +255,12 @@ do_install:append() { mkdir -p ${D}/etc/libvirt/hooks for hook in "daemon" "lxc" "network" "qemu" do - install -m 0755 ${WORKDIR}/hook_support.py ${D}/etc/libvirt/hooks/${hook} + install -m 0755 ${UNPACKDIR}/hook_support.py ${D}/etc/libvirt/hooks/${hook} done # Force the main dnsmasq instance to bind only to specified interfaces and # to not bind to virbr0. Libvirt will run its own instance on this interface. - install -m 644 ${WORKDIR}/dnsmasq.conf ${D}/${sysconfdir}/dnsmasq.d/libvirt-daemon + install -m 644 ${UNPACKDIR}/dnsmasq.conf ${D}/${sysconfdir}/dnsmasq.d/libvirt-daemon # remove .la references to our working diretory for i in `find ${D}${libdir} -type f -name *.la`; do