libvirt: fix install error without qemu
libvirt: fix install error without qemu

An error occurs during the install step of libvirt when the variable
PACKAGECONFIG does not contain qemu.

Indeed, in this case, the operation "chown -R qemu:qemu
${D}/${localstatedir}/lib/libvirt/qemu" fails, since the folder
${D}/${localstatedir}/lib/libvirt/qemu has not been created.

The fix consist in doing this operation only if
the variable “PACKAGECONFIG” contains “qemu”.
remark: issue present since the Warrior release of yocto.

Upstream-Status: Pending

Signed-off-by: Nicolas Lavocat <5aaaa163aac207e6fe17c908ba2415de0a8861f0@harman.com>
Signed-off-by: Bruce Ashfield <284cc737d174a260eec2a2a6324a304f84b1ae0f@gmail.com>

lgirdk/meta-virtualization,lgirdk/meta-virtualization,lgirdk/meta-virtualization,lgirdk/meta-virtualization,lgirdk/meta-virtualization