blob: 585e1fbfe2c449af9b72ef74938bd4142336d4c2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
# ceph doesn't run on 32-bit currently (see FS32#21)
depends=(${depends[@]/ceph-libs/})
makedepends=(${makedepends[@]/ceph-libs/})
# remove qemu-rdb (configure doesn't see rdb, does it depend on ceph?)
pkgname=(${pkgname[@]/libvirt-storage-rbd/})
unset -f 'libvirt-storage-rbd'
eval "$(
declare -f package_libvirt | \
sed '
s/libvirt_storage_backend_{rbd,gluster}.so/libvirt_storage_backend_gluster.so/
'
)"
eval "$(
declare -f build | \
sed '
s/-Dstorage_rbd=enabled/-Dstorage_rbd=disabled/
'
)"
# use polkit-duktape instead of polkit on i486
if [ "$CARCH" = 'i486' ]; then
depends=(${depends[@]//polkit/})
depends+=(polkit-duktape)
fi
|