upgpkg: cloud-hypervisor

Run setcap in post_install.
primary
George Rawlinson 1 year ago
parent 755434e9f7
commit 786a4b94c6
Signed by: grawlinson
GPG Key ID: E0959FEA8B550539

@ -7,8 +7,10 @@ pkgdesc="A Virtual Machine Monitor for modern cloud workloads"
url="https://www.cloudhypervisor.org"
arch=('x86_64')
license=('Apache')
depends=('gcc-libs')
makedepends=('rust')
optdepends=('qemu-headless: for virtiofsd')
install="$pkgname.install"
source=("$pkgname-$pkgver.tar.gz::https://github.com/cloud-hypervisor/cloud-hypervisor/archive/v$pkgver.tar.gz")
sha512sums=('229d081b9bacc048287e84d268c48443f456b9eadd14e812d818900d67e88f12f60eaa2503ffecd0017a5db147063f63165b6d702413fb7ebeeaaf2acd08113c')
b2sums=('0e44ff622e84443aadba36479ee6f7394b88649c927a9671598d39953906dd464a0d5b71d29e3086c6cace5bc8f97a07f39795cacb5bba851805ab475692db1f')

@ -0,0 +1,3 @@
post_install() {
setcap cap_net_admin+ep /usr/bin/cloud-hypervisor
}
Loading…
Cancel
Save