mirror of
git://git.yoctoproject.org/meta-virtualization.git
synced 2025-07-19 12:50:22 +02:00
libvirt: correct direction creation for sysusers.d
Matthis Mauschild <matthis.hauschild@airbus.com> noticed that
commit 3902ac8844
[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>
This commit is contained in:
parent
3902ac8844
commit
46af9ae05a
|
@ -205,10 +205,11 @@ do_install:append() {
|
||||||
install -d ${D}/etc/init.d
|
install -d ${D}/etc/init.d
|
||||||
install -d ${D}/etc/libvirt
|
install -d ${D}/etc/libvirt
|
||||||
install -d ${D}/etc/dnsmasq.d
|
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 0755 ${UNPACKDIR}/libvirtd.sh ${D}/etc/init.d/libvirtd
|
||||||
install -m 0644 ${UNPACKDIR}/libvirtd.conf ${D}/etc/libvirt/libvirtd.conf
|
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
|
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.
|
# This will wind up in the libvirtd package, but will NOT be invoked by default.
|
||||||
|
|
Loading…
Reference in New Issue
Block a user