aboutsummaryrefslogtreecommitdiff
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.SlackBuild7
1 files changed, 2 insertions, 5 deletions
diff --git a/system/kvm-kmod/kvm-kmod.SlackBuild b/system/kvm-kmod/kvm-kmod.SlackBuild
index efce63ee14ef..9a7eca677dd9 100644
--- a/system/kvm-kmod/kvm-kmod.SlackBuild
+++ b/system/kvm-kmod/kvm-kmod.SlackBuild
@@ -40,7 +40,6 @@ PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
KERNEL=${KERNEL:-$(uname -r)}
-KVMGROUP=${KVMGROUP:-users}
if [ "$ARCH" = "i486" ]; then
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
@@ -71,8 +70,6 @@ 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
@@ -91,8 +88,8 @@ make install \
# Eliminate unused pkgconfig text file
rm -r $PKG/usr/lib${LIBDIRSUFFIX}
-# Move /etc/udev to /lib/udev
-mv $PKG/etc/udev $PKG/lib
+# Remove /etc/udev - this part is shipped with the qemu package
+rm -rf $PKG/etc/udev
# Make modprobe prefer the new modules in /lib/modules/$KERNEL/extra/
# We don't want to install this with a .new suffix, because we want it