From 46af9ae05ae66f083b4d5fc3031453ebb4e91266 Mon Sep 17 00:00:00 2001 From: Bruce Ashfield Date: Wed, 2 Oct 2024 13:29:36 +0000 Subject: [PATCH] libvirt: correct direction creation for sysusers.d Matthis Mauschild noticed that commit 3902ac8844a9868ab14f [libvirt: ensure sysusers.d path for libvirt-qemu] does not universally work. Adjusting the directory creation to be the same as other installs in the recipe to ensure it works everywhere. Signed-off-by: Bruce Ashfield --- recipes-extended/libvirt/libvirt_git.bb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/recipes-extended/libvirt/libvirt_git.bb b/recipes-extended/libvirt/libvirt_git.bb index bef98b69..f22ad0ea 100644 --- a/recipes-extended/libvirt/libvirt_git.bb +++ b/recipes-extended/libvirt/libvirt_git.bb @@ -205,10 +205,11 @@ do_install:append() { install -d ${D}/etc/init.d install -d ${D}/etc/libvirt install -d ${D}/etc/dnsmasq.d + install -d ${D}${nonarch_base_libdir}/sysusers.d/ install -m 0755 ${UNPACKDIR}/libvirtd.sh ${D}/etc/init.d/libvirtd install -m 0644 ${UNPACKDIR}/libvirtd.conf ${D}/etc/libvirt/libvirtd.conf - install -d -m 0644 ${UNPACKDIR}/libvirt-qemu.conf ${D}${nonarch_base_libdir}/sysusers.d/libvirt-qemu.conf + install -m 0644 ${UNPACKDIR}/libvirt-qemu.conf ${D}${nonarch_base_libdir}/sysusers.d/libvirt-qemu.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.