diff options
author | Robby Workman <rworkman@slackbuilds.org> | 2013-04-17 00:27:39 -0500 |
---|---|---|
committer | Niels Horn <niels.horn@slackbuilds.org> | 2013-04-28 12:23:22 -0300 |
commit | 2f37dd822b309926f408423893dcd1182dc1107c (patch) | |
tree | f186e04cf43108cdc1c75406be49e2a715574f42 /system/kvm-kmod/kvm-kmod.SlackBuild | |
parent | 7cb823a3fa4ac5fafb8ec1a32deae94ea08d6303 (diff) | |
download | slackbuilds-2f37dd822b309926f408423893dcd1182dc1107c.tar.gz |
system/kvm-kmod: Don't install udev rules
The udev rules to control access to /dev/kvm are included
with the qemu package.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'system/kvm-kmod/kvm-kmod.SlackBuild')
-rw-r--r-- | system/kvm-kmod/kvm-kmod.SlackBuild | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/system/kvm-kmod/kvm-kmod.SlackBuild b/system/kvm-kmod/kvm-kmod.SlackBuild index efce63ee14..9a7eca677d 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 |