blob: efb652a88c8e0c902fd5558f5d677c22eb60f302 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
_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"
}
post_remove() {
rm -f /usr/lib/python[0-9].[0-9]/site-packages/libvirt.pyc
}
|