aboutsummaryrefslogtreecommitdiffstats
path: root/main/qemu/qemu.pre-install
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2010-12-28 14:11:07 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2010-12-28 14:11:07 +0000
commita84c5b90f6eb90d50ae51058886cac109071de5d (patch)
tree31a1fed6e617ab49e94d3d9d98b70f9d1ebc9470 /main/qemu/qemu.pre-install
parent9010f45d39cb7eb566227bd5259a9bbc6436d5d1 (diff)
downloadaports-a84c5b90f6eb90d50ae51058886cac109071de5d.tar.bz2
aports-a84c5b90f6eb90d50ae51058886cac109071de5d.tar.xz
main/qemu: add udev rule, create kvm group, subpackage for qemu-img
Diffstat (limited to 'main/qemu/qemu.pre-install')
-rw-r--r--main/qemu/qemu.pre-install4
1 files changed, 2 insertions, 2 deletions
diff --git a/main/qemu/qemu.pre-install b/main/qemu/qemu.pre-install
index 0119bacbea..68d7043acc 100644
--- a/main/qemu/qemu.pre-install
+++ b/main/qemu/qemu.pre-install
@@ -1,6 +1,6 @@
#!/bin/sh
-if ! getent group | grep -q "^kvm:"; then
- addgroup kvm
+if ! getent group kvm >/dev/null; then
+ addgroup -g 34 -S kvm
fi