mirror of
git://git.yoctoproject.org/meta-virtualization.git
synced 2025-07-19 20:59:41 +02:00
libvirt: fix do_rootfs error
When do_rootfs, the following error occured: WARNING: do_rootfs: Group kvm has been defined with id (47) but sysusers.d expects gid (36) WARNING: do_rootfs: Group qemu has been defined with id (975) but sysusers.d expects gid (107) ERROR: do_rootfs: Error executing a python function in exec_func_python() autogenerated: Create an empty file libvirt-qemu.conf to solve the issue of gid mismatch Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
This commit is contained in:
parent
c2d3d5001a
commit
8138d9cc7e
0
recipes-extended/libvirt/libvirt/libvirt-qemu.conf
Normal file
0
recipes-extended/libvirt/libvirt/libvirt-qemu.conf
Normal file
|
@ -35,6 +35,7 @@ SRC_URI = "gitsm://github.com/libvirt/libvirt.git;name=libvirt;protocol=https;br
|
||||||
file://dnsmasq.conf \
|
file://dnsmasq.conf \
|
||||||
file://hook_support.py \
|
file://hook_support.py \
|
||||||
file://gnutls-helper.py;subdir=${BP} \
|
file://gnutls-helper.py;subdir=${BP} \
|
||||||
|
file://libvirt-qemu.conf \
|
||||||
file://0001-prevent-gendispatch.pl-generating-build-path-in-code.patch \
|
file://0001-prevent-gendispatch.pl-generating-build-path-in-code.patch \
|
||||||
file://0001-messon.build-remove-build-path-information-to-avoid-.patch \
|
file://0001-messon.build-remove-build-path-information-to-avoid-.patch \
|
||||||
file://0001-meson.build-clear-abs_top_builddir-to-avoid-QA-warni.patch \
|
file://0001-meson.build-clear-abs_top_builddir-to-avoid-QA-warni.patch \
|
||||||
|
@ -207,6 +208,7 @@ do_install:append() {
|
||||||
|
|
||||||
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 -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