qemu 2.12.1-1

This commit is contained in:
emmett1
2018-08-19 22:31:26 +08:00
parent ca5ec33f5b
commit 3a10fe5ebc
3 changed files with 9 additions and 6 deletions

View File

@@ -1,3 +1,3 @@
pre_install() {
post_install() {
getent group kvm >/dev/null || groupadd -g 61 kvm
}

2
core/qemu/qemu.sysusers Normal file
View File

@@ -0,0 +1,2 @@
# UID GID MODE DIR/FILE
- kvm 4750 /usr/libexec/qemu-bridge-helper

View File

@@ -2,10 +2,12 @@
# depends : alsa-lib sdl2 glib python2 coreutils
name=qemu
version=2.12.0
version=2.12.1
release=1
source=(http://download.qemu-project.org/$name-$version.tar.bz2)
md5sum=(122fd7cdf241ff7eb1e42c0b503b5d1b)
source=(http://download.qemu-project.org/$name-$version.tar.bz2
$name.sysusers)
md5sum=(ef7d52d4c2e91143114d04b41671bb38
bec5cf16b8f46e6319c98c7bb2cc4c88)
build() {
cd $name-$version
@@ -27,7 +29,6 @@ cat > $PKG/lib/udev/rules.d/65-kvm.rules << "EOF"
KERNEL=="kvm", GROUP="kvm", MODE="0660"
EOF
chgrp kvm $PKG/usr/libexec/qemu-bridge-helper
chmod 4750 $PKG/usr/libexec/qemu-bridge-helper
install -Dm 644 $SRC/$name.sysusers $PKG/etc/sysusers.d/$name.conf
}