diff options
author | Tim Orling <tim.orling@konsulko.com> | 2024-09-28 20:58:29 -0700 |
---|---|---|
committer | Bruce Ashfield <bruce.ashfield@gmail.com> | 2024-09-30 20:15:45 +0000 |
commit | 3902ac8844a9868ab14fa38b663d3832daa4b9de (patch) | |
tree | 7ae1ed88a70bb76e824ec80ef80de6cec6bdc383 | |
parent | 0aa6e9fc7b9fe4a4b0da4bbd59500837445032e8 (diff) | |
download | meta-virtualization-3902ac8844a9868ab14fa38b663d3832daa4b9de.tar.gz |
libvirt: ensure sysusers.d path for libvirt-qemu
In 8138d9cc7e0c31171230110db0cfa881c46a821b the path to
/lib/sysusers.d might not exist, use install -d to ensure
it does.
Fixes:
install: cannot create regular file
'.../libvirt/v10.5.0+git/image/lib/sysusers.d/libvirt-qemu.conf':
No such file or directory
Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
-rw-r--r-- | recipes-extended/libvirt/libvirt_git.bb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/recipes-extended/libvirt/libvirt_git.bb b/recipes-extended/libvirt/libvirt_git.bb index 1175e737..bef98b69 100644 --- a/recipes-extended/libvirt/libvirt_git.bb +++ b/recipes-extended/libvirt/libvirt_git.bb | |||
@@ -208,7 +208,7 @@ do_install:append() { | |||
208 | 208 | ||
209 | install -m 0755 ${UNPACKDIR}/libvirtd.sh ${D}/etc/init.d/libvirtd | 209 | install -m 0755 ${UNPACKDIR}/libvirtd.sh ${D}/etc/init.d/libvirtd |
210 | install -m 0644 ${UNPACKDIR}/libvirtd.conf ${D}/etc/libvirt/libvirtd.conf | 210 | install -m 0644 ${UNPACKDIR}/libvirtd.conf ${D}/etc/libvirt/libvirtd.conf |
211 | install -m 0644 ${UNPACKDIR}/libvirt-qemu.conf ${D}${nonarch_base_libdir}/sysusers.d/libvirt-qemu.conf | 211 | install -d -m 0644 ${UNPACKDIR}/libvirt-qemu.conf ${D}${nonarch_base_libdir}/sysusers.d/libvirt-qemu.conf |
212 | 212 | ||
213 | if ${@bb.utils.contains('DISTRO_FEATURES','sysvinit','true','false',d)}; then | 213 | 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. | 214 | # This will wind up in the libvirtd package, but will NOT be invoked by default. |