mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-21 19:42:24 +01:00
system/qemu-kvm: Remove NAME= setting from udev rules file
Thanks to Alex Lysenka for the report. Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
This commit is contained in:
parent
94c3b3ea68
commit
886f62b8f4
2 changed files with 10 additions and 1 deletions
6
system/qemu-kvm/fixup_udev_rules_file.diff
Normal file
6
system/qemu-kvm/fixup_udev_rules_file.diff
Normal file
|
@ -0,0 +1,6 @@
|
|||
diff -Nur qemu-kvm-0.12.3.orig//kvm/scripts/65-kvm.rules qemu-kvm-0.12.3/kvm/scripts/65-kvm.rules
|
||||
--- qemu-kvm-0.12.3.orig//kvm/scripts/65-kvm.rules 2010-02-25 20:34:00.000000000 -0600
|
||||
+++ qemu-kvm-0.12.3/kvm/scripts/65-kvm.rules 2010-06-05 01:06:04.126447475 -0500
|
||||
@@ -1 +1 @@
|
||||
-KERNEL=="kvm", NAME="%k", GROUP="kvm", MODE="0660"
|
||||
+KERNEL=="kvm", GROUP="kvm", MODE="0660"
|
|
@ -23,7 +23,7 @@
|
|||
|
||||
PRGNAM=qemu-kvm
|
||||
VERSION=${VERSION:-0.12.3}
|
||||
BUILD=${BUILD:-1}
|
||||
BUILD=${BUILD:-2}
|
||||
TAG=${TAG:-_SBo}
|
||||
|
||||
# The script is set to build all possible Linux Target CPU emulators by default.
|
||||
|
@ -87,6 +87,9 @@ find . \
|
|||
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
|
||||
-exec chmod 644 {} \;
|
||||
|
||||
# Remove the unneeded (and warning-inducing) NAME= setting from the udev rules
|
||||
patch -p1 < $CWD/fixup_udev_rules_file.diff
|
||||
|
||||
# This translates the possible targets into the correct format for configure
|
||||
TARGETS="$(for i in $BUILD_ARCH ; do printf "$i-softmmu " ; done)"
|
||||
|
||||
|
|
Loading…
Reference in a new issue