Fixes: #13922 - Core 199 - QEMU VMs no longer start - libfuse3.so.4 missing
Reported-by: Arno Jonker <admin@greenbull.nl>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
DIR_APP = $(DIR_SRC)/$(THISAPP)
TARGET = $(DIR_INFO)/$(THISAPP)
PROG = qemu
-PAK_VER = 52
+PAK_VER = 53
DEPS = alsa libusbredir spice libslirp
############################################################################
#
. /opt/pakfire/lib/functions.sh
+
+# If the KVM group has already been created as a non-system group, we will
+# remove it and create it again as a system group
+kvm_id="$(getent group kvm | cut -d: -f3)"
+if [ -n "${kvm_id}" -a "${kvm_id}" -ge 1000 ]; then
+ groupdel kvm
+fi
+
#create the group kvm when they not exist
getent group kvm >/dev/null || groupadd -r kvm
extract_files