diff options
author | Bruce Ashfield <bruce.ashfield@gmail.com> | 2024-10-02 13:29:36 +0000 |
---|---|---|
committer | Bruce Ashfield <bruce.ashfield@gmail.com> | 2024-10-02 13:32:54 +0000 |
commit | 46af9ae05ae66f083b4d5fc3031453ebb4e91266 (patch) | |
tree | 1071a6a9c11e1dd5754dbde8faa4412ce89906e6 | |
parent | 3902ac8844a9868ab14fa38b663d3832daa4b9de (diff) | |
download | meta-virtualization-46af9ae05ae66f083b4d5fc3031453ebb4e91266.tar.gz |
libvirt: correct direction creation for sysusers.d
Matthis Mauschild <matthis.hauschild@airbus.com> 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 <bruce.ashfield@gmail.com>
-rw-r--r-- | recipes-extended/libvirt/libvirt_git.bb | 3 |
1 files changed, 2 insertions, 1 deletions
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() { | |||
205 | install -d ${D}/etc/init.d | 205 | install -d ${D}/etc/init.d |
206 | install -d ${D}/etc/libvirt | 206 | install -d ${D}/etc/libvirt |
207 | install -d ${D}/etc/dnsmasq.d | 207 | install -d ${D}/etc/dnsmasq.d |
208 | install -d ${D}${nonarch_base_libdir}/sysusers.d/ | ||
208 | 209 | ||
209 | install -m 0755 ${UNPACKDIR}/libvirtd.sh ${D}/etc/init.d/libvirtd | 210 | install -m 0755 ${UNPACKDIR}/libvirtd.sh ${D}/etc/init.d/libvirtd |
210 | install -m 0644 ${UNPACKDIR}/libvirtd.conf ${D}/etc/libvirt/libvirtd.conf | 211 | install -m 0644 ${UNPACKDIR}/libvirtd.conf ${D}/etc/libvirt/libvirtd.conf |
211 | install -d -m 0644 ${UNPACKDIR}/libvirt-qemu.conf ${D}${nonarch_base_libdir}/sysusers.d/libvirt-qemu.conf | 212 | install -m 0644 ${UNPACKDIR}/libvirt-qemu.conf ${D}${nonarch_base_libdir}/sysusers.d/libvirt-qemu.conf |
212 | 213 | ||
213 | if ${@bb.utils.contains('DISTRO_FEATURES','sysvinit','true','false',d)}; then | 214 | if ${@bb.utils.contains('DISTRO_FEATURES','sysvinit','true','false',d)}; then |
214 | # This will wind up in the libvirtd package, but will NOT be invoked by default. | 215 | # This will wind up in the libvirtd package, but will NOT be invoked by default. |