From: Michael Tremer Date: Tue, 2 Dec 2025 11:25:24 +0000 (+0000) Subject: qemu: Create the KVM group as system group X-Git-Tag: v2.29-core199~4 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c26c281d6447d40c26c421dbab42aff94cd9907b;p=ipfire-2.x.git qemu: Create the KVM group as system group Otherwise udev will ignore any rules that involve this group. This might require some manual intervention for users who are running this add-on on a system that has the kvm group created as a non-system group. Signed-off-by: Michael Tremer --- diff --git a/lfs/qemu b/lfs/qemu index d7a0ba9cad..ca1115c76f 100644 --- a/lfs/qemu +++ b/lfs/qemu @@ -35,7 +35,7 @@ DL_FROM = $(URL_IPFIRE) DIR_APP = $(DIR_SRC)/$(THISAPP) TARGET = $(DIR_INFO)/$(THISAPP) PROG = qemu -PAK_VER = 51 +PAK_VER = 52 DEPS = alsa libusbredir spice libslirp diff --git a/src/paks/qemu/install.sh b/src/paks/qemu/install.sh index e44ba5eca7..e0b84a629c 100644 --- a/src/paks/qemu/install.sh +++ b/src/paks/qemu/install.sh @@ -23,7 +23,7 @@ # . /opt/pakfire/lib/functions.sh #create the group kvm when they not exist -getent group kvm >/dev/null || groupadd kvm +getent group kvm >/dev/null || groupadd -r kvm extract_files restore_backup ${NAME} echo shm /dev/shm tmpfs defaults,size=256M 0 0 >> /etc/fstab