diff options
author | Robby Workman <rworkman@slackbuilds.org> | 2010-06-05 01:08:29 -0500 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2010-06-05 01:08:29 -0500 |
commit | 886f62b8f450b8f2d42b9b124bc557b526f4411e (patch) | |
tree | 6e93132481cf7214c904e911788e9063695983fb /system | |
parent | 94c3b3ea68cce9e77595c68cd03e2c74006250c1 (diff) |
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')
-rw-r--r-- | system/qemu-kvm/fixup_udev_rules_file.diff | 6 | ||||
-rw-r--r-- | system/qemu-kvm/qemu-kvm.SlackBuild | 5 |
2 files changed, 10 insertions, 1 deletions
diff --git a/system/qemu-kvm/fixup_udev_rules_file.diff b/system/qemu-kvm/fixup_udev_rules_file.diff new file mode 100644 index 0000000000000..4ce2a7fe9b2a4 --- /dev/null +++ b/system/qemu-kvm/fixup_udev_rules_file.diff @@ -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" diff --git a/system/qemu-kvm/qemu-kvm.SlackBuild b/system/qemu-kvm/qemu-kvm.SlackBuild index 3760139a103b9..463dee31254b4 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)" |