mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-18 22:54:00 +00:00
16 lines
400 B
Text
16 lines
400 B
Text
|
_libvirt_setup() {
|
||
|
systemd-tmpfiles --create libvirt.conf
|
||
|
}
|
||
|
|
||
|
post_install() {
|
||
|
_libvirt_setup || return 1
|
||
|
echo ">>> See https://wiki.archlinux.org/index.php/Libvirt for more info"
|
||
|
}
|
||
|
|
||
|
post_upgrade() {
|
||
|
_libvirt_setup || return 1
|
||
|
echo ">>> You may need to run 'rm -rf ~/.libvirt'"
|
||
|
echo ">>> libvirt runs qemu from nobody:nobody by default"
|
||
|
echo ">>> change it in /etc/libvirt/qemu.conf"
|
||
|
}
|