mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
extra/qemu to 2.10.1-2
This commit is contained in:
parent
c16a682789
commit
57e9c9fb84
4 changed files with 8 additions and 14 deletions
|
@ -1,2 +1 @@
|
|||
KERNEL=="kvm", GROUP="kvm", MODE="0660"
|
||||
KERNEL=="vhost-net", GROUP="kvm", MODE="0660", TAG+="uaccess", OPTIONS+="static_node=vhost-net"
|
||||
|
|
|
@ -13,24 +13,22 @@ pkgname=(qemu qemu-headless qemu-arch-extra qemu-headless-arch-extra
|
|||
qemu-block-{iscsi,rbd,gluster} qemu-guest-agent)
|
||||
pkgdesc="A generic and open source machine emulator and virtualizer"
|
||||
pkgver=2.10.1
|
||||
pkgrel=1
|
||||
arch=(i686 x86_64)
|
||||
pkgrel=2
|
||||
arch=(x86_64)
|
||||
license=(GPL2 LGPL2.1)
|
||||
url="http://wiki.qemu.org/"
|
||||
_headlessdeps=(gnutls libpng libaio jemalloc xfsprogs libnfs
|
||||
lzo snappy curl vde2 libcap-ng spice libcacard usbredir)
|
||||
depends=(virglrenderer sdl2 vte3 brltty "${_headlessdeps[@]}")
|
||||
lzo snappy curl vde2 libcap-ng spice libcacard usbredir pulseaudio)
|
||||
depends=(virglrenderer sdl2 vte3 "${_headlessdeps[@]}")
|
||||
makedepends=(spice-protocol python2 ceph libiscsi glusterfs)
|
||||
source=("$url/download/${pkgname}-${pkgver}.tar.bz2"{,.sig}
|
||||
qemu.sysusers
|
||||
qemu-ga.service
|
||||
65-kvm.rules
|
||||
allow_elf64.patch)
|
||||
sha256sums=('8e040bc7556401ebb3a347a8f7878e9d4028cf71b2744b1a1699f4e741966ba8'
|
||||
sha256sums=('c4f034c7665a84a1c3be72c8da37f3c31ec063475699df062ab646d8b2e17fcb'
|
||||
'SKIP'
|
||||
'dd43e2ef062b071a0b9d0d5ea54737f41600ca8a84a8aefbebb1ff09f978acfb'
|
||||
'c39bcde4a09165e64419fd2033b3532378bba84d509d39e2d51694d44c1f8d88'
|
||||
'60dcde5002c7c0b983952746e6fb2cf06d6c5b425d64f340f819356e561e7fc7'
|
||||
'a66f0e791b16b03b91049aac61a25950d93e962e1b2ba64a38c6ad7f609b532c'
|
||||
'13a6d9e678bdc9e1f051006cfd0555f5a80582368f54c8a1bb5a78ece3832ac4')
|
||||
validpgpkeys=('CEACC9E15534EBABB82D3FA03353C9CEF108B584')
|
||||
|
||||
|
@ -62,8 +60,7 @@ build() {
|
|||
--disable-gtk \
|
||||
--disable-vte \
|
||||
--disable-opengl \
|
||||
--disable-virglrenderer \
|
||||
--disable-brlapi
|
||||
--disable-virglrenderer
|
||||
}
|
||||
|
||||
_build() (
|
||||
|
@ -120,7 +117,6 @@ _package() {
|
|||
|
||||
# systemd stuff
|
||||
install -Dm644 65-kvm.rules "$pkgdir/usr/lib/udev/rules.d/65-kvm.rules"
|
||||
install -Dm644 qemu.sysusers "$pkgdir/usr/lib/sysusers.d/qemu.conf"
|
||||
|
||||
# remove conflicting /var/run directory
|
||||
cd "$pkgdir"
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# Arg 1: the new package version
|
||||
post_install() {
|
||||
# trigger events on modules files when already loaded
|
||||
for _f in /sys/devices/virtual/misc/{kvm,vhost-net}; do
|
||||
for _f in /sys/devices/virtual/misc/vhost-net; do
|
||||
[[ -e "$_f" ]] && udevadm trigger "$_f"
|
||||
done
|
||||
:
|
||||
|
|
|
@ -1 +0,0 @@
|
|||
g kvm 78 -
|
Loading…
Reference in a new issue