mirror of
https://github.com/outbackdingo/ports.git
synced 2026-01-27 10:20:12 +00:00
libvirt: update files
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
93cfc515e2a02d72b43e70a63dee45e9 libvirt-9.3.0.tar.xz
|
||||
b86ae62882b36061002a7100627a04f2 libvirtd.conf
|
||||
43421a98dc2f6d15e54e5f629748294f libvirtd.conf
|
||||
342234f80f4f465bbdbcc06b6a38229d qemu.conf
|
||||
fff1453c6eeb8ea55e82e5cf18c14a92 rc.libvirtd
|
||||
1768ec2c4c6722699263297c4972f01b rc.virtlogd
|
||||
|
||||
@@ -117,7 +117,7 @@ unix_sock_admin_perms = "0700"
|
||||
# This setting is not required or honoured if using systemd socket
|
||||
# activation.
|
||||
#
|
||||
unix_sock_dir = "/var/run/libvirt"
|
||||
unix_sock_dir = "/run/libvirt"
|
||||
|
||||
|
||||
|
||||
|
||||
10
main/libvirt/pre-install.sh
Normal file
10
main/libvirt/pre-install.sh
Normal file
@@ -0,0 +1,10 @@
|
||||
#!/bin/sh
|
||||
|
||||
if [ -z "`getent group libvirt`" ]; then
|
||||
/usr/sbin/groupadd --system libvirt
|
||||
fi
|
||||
|
||||
if [ -z "`getent passwd libvirt`" ]; then
|
||||
/usr/sbin/useradd -r -g libvirt -d /etc/libvirt -s /bin/false -c "libvirt service user" libvirt
|
||||
/usr/bin/passwd -l libvirt
|
||||
fi
|
||||
@@ -32,4 +32,4 @@ build() {
|
||||
install -D -o root -g root -m 0644 $SRC/qemu.conf \
|
||||
$PKG/etc/libvirt/qemu.conf
|
||||
rm -r $PKG/usr/share/locale
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user