summaryrefslogtreecommitdiff
path: root/system/qemu-kvm/qemu-kvm.SlackBuild
diff options
context:
space:
mode:
authorRobby Workman <rworkman@slackbuilds.org>2010-06-05 01:08:29 -0500
committerRobby Workman <rworkman@slackbuilds.org>2010-06-05 01:08:29 -0500
commit886f62b8f450b8f2d42b9b124bc557b526f4411e (patch)
tree6e93132481cf7214c904e911788e9063695983fb /system/qemu-kvm/qemu-kvm.SlackBuild
parent94c3b3ea68cce9e77595c68cd03e2c74006250c1 (diff)
downloadslackbuilds-886f62b8f450b8f2d42b9b124bc557b526f4411e.tar.gz
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>
Diffstat (limited to 'system/qemu-kvm/qemu-kvm.SlackBuild')
-rw-r--r--system/qemu-kvm/qemu-kvm.SlackBuild5
1 files changed, 4 insertions, 1 deletions
diff --git a/system/qemu-kvm/qemu-kvm.SlackBuild b/system/qemu-kvm/qemu-kvm.SlackBuild
index 3760139a10..463dee3125 100644
--- a/system/qemu-kvm/qemu-kvm.SlackBuild
+++ b/system/qemu-kvm/qemu-kvm.SlackBuild
@@ -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)"