mirror of
git://git.yoctoproject.org/meta-virtualization.git
synced 2025-07-19 20:59:41 +02:00
libvirt: Do not change /var/lib/libvirt/qemu for mips and mips64 in do_install
qemu does not support mips and mips64 and thus /var/lib/libvirt/qemu is not generated. Do not change it. Signed-off-by: He Zhe <zhe.he@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
This commit is contained in:
parent
f73eb0b2c9
commit
1bd526d9fe
|
@ -311,9 +311,18 @@ do_install_append() {
|
|||
|
||||
sed -i -e 's/^\(unix_sock_group\ =\ \).*/\1"kvm"/' ${D}/etc/libvirt/libvirtd.conf
|
||||
sed -i -e 's/^\(unix_sock_rw_perms\ =\ \).*/\1"0776"/' ${D}/etc/libvirt/libvirtd.conf
|
||||
|
||||
case ${MACHINE_ARCH} in
|
||||
*mips*)
|
||||
break
|
||||
;;
|
||||
*)
|
||||
chown -R qemu:qemu ${D}/${localstatedir}/lib/libvirt/qemu
|
||||
echo "d qemu qemu 0755 ${localstatedir}/cache/libvirt/qemu none" \
|
||||
>> ${D}${sysconfdir}/default/volatiles/99_libvirt
|
||||
break
|
||||
;;
|
||||
esac
|
||||
|
||||
if ${@bb.utils.contains('PACKAGECONFIG','gnutls','true','false',d)}; then
|
||||
# Generate sample keys and certificates.
|
||||
|
|
Loading…
Reference in New Issue
Block a user