summaryrefslogtreecommitdiff
path: root/system/kvm-kmod/kvm-kmod.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'system/kvm-kmod/kvm-kmod.SlackBuild')
-rw-r--r--system/kvm-kmod/kvm-kmod.SlackBuild5
1 files changed, 4 insertions, 1 deletions
diff --git a/system/kvm-kmod/kvm-kmod.SlackBuild b/system/kvm-kmod/kvm-kmod.SlackBuild
index 4d5adcb5b3..43910221ff 100644
--- a/system/kvm-kmod/kvm-kmod.SlackBuild
+++ b/system/kvm-kmod/kvm-kmod.SlackBuild
@@ -22,7 +22,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=kvm-kmod
-VERSION=${VERSION:-3.1}
+VERSION=${VERSION:-3.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -40,6 +40,7 @@ PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
KERNEL=${KERNEL:-$(uname -r)}
+KVMGROUP=${KVMGROUP:-users}
if [ "$ARCH" = "i486" ]; then
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
@@ -70,6 +71,8 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
+sed "s,@KVMGROUP@,$KVMGROUP," $CWD/fixup_udev_rules.diff | patch -p1 || exit 1
+
CFLAGS="$SLKCFLAGS" \
./configure \
--arch=$ARCH