Unverified Commit b56f32a6 authored by Timothée Floure's avatar Timothée Floure
Browse files

community/qemu: enable rbd support

parent d6c36b79
Pipeline #60909 failed with stages
in 60 minutes and 15 seconds
# Contributor: Sergei Lukin <sergej.lukin@gmail.com>
# Contributor: Valery Kartel <valery.kartel@gmail.com>
# Contributor: Jakub Jirutka <jakub@jirutka.cz>
# Contributor: Timothée Floure <timothee.floure@ungleich.ch>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
# 2020-06-15: CEPH is only available for x86_64 and aarch64 at the moment.
case "$CARCH" in
x86*|aarch64)
rbd_depends="ceph-dev"
rbd_module="block-rbd"
rbd_support="--enable-rbd"
;;
esac
pkgname=qemu
pkgver=5.1.0
pkgrel=1
pkgrel=2
pkgdesc="QEMU is a generic machine emulator and virtualizer"
url="https://qemu.org/"
arch="all"
......@@ -48,7 +59,9 @@ makedepends="
xfsprogs-dev
zlib-dev
zlib-static
$rbd_depends
"
pkggroups="qemu"
install="$pkgname.pre-install $pkgname.post-install $pkgname.pre-upgrade"
# suid needed for qemu-bridge-helper
......@@ -147,7 +160,9 @@ _modules="
ui-gtk
ui-sdl
ui-spice-app
$rbd_module
"
for _mod in $_modules; do
subpackages="$subpackages $pkgname-$_mod:_module"
done
......@@ -290,6 +305,7 @@ build() {
--enable-vnc \
--enable-vnc-jpeg \
--enable-vnc-png \
$rbd_support \
--tls-priority=@QEMU,SYSTEM
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment