diff options
-rw-r--r-- | main/qemu/APKBUILD | 6 | ||||
-rw-r--r-- | main/qemu/qemu.pre-install | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/main/qemu/APKBUILD b/main/qemu/APKBUILD index 6754b6fdbf..6824403bc4 100644 --- a/main/qemu/APKBUILD +++ b/main/qemu/APKBUILD @@ -3,7 +3,7 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=qemu pkgver=2.6.0 -pkgrel=1 +pkgrel=2 pkgdesc="QEMU is a generic machine emulator and virtualizer" url="http://qemu.org/" arch="all" @@ -219,8 +219,8 @@ package() { # qemu-bridge-helper needs suid to create tunX devices; # allow only users in the qemu group to run it. - chmod 04710 "$pkgdir"/usr/libexec/qemu/qemu-bridge-helper - chgrp qemu "$pkgdir"/usr/libexec/qemu/qemu-bridge-helper + chmod 04710 "$pkgdir"/usr/lib/qemu/qemu-bridge-helper || return 1 + chgrp qemu "$pkgdir"/usr/lib/qemu/qemu-bridge-helper || return 1 if [ -n "$_arch" ]; then cd "$builddir"/build-gtk diff --git a/main/qemu/qemu.pre-install b/main/qemu/qemu.pre-install index 542f2a8296..2ef9b5366d 100644 --- a/main/qemu/qemu.pre-install +++ b/main/qemu/qemu.pre-install @@ -1,6 +1,6 @@ #!/bin/sh addgroup -S -g 34 kvm 2>/dev/null -addgroup -S -g 35 qemu 2>/dev/null +addgroup -S -g 36 qemu 2>/dev/null exit 0 |