rmpkg: cloud-hypervisor
This commit is contained in:
parent
b4de1934c9
commit
3a6455f168
3 changed files with 0 additions and 53 deletions
|
@ -1552,12 +1552,6 @@ github = "m-burst/flake8-pytest-style"
|
||||||
use_max_tag = true
|
use_max_tag = true
|
||||||
prefix = "v"
|
prefix = "v"
|
||||||
|
|
||||||
[cloud-hypervisor]
|
|
||||||
source = "github"
|
|
||||||
github = "cloud-hypervisor/cloud-hypervisor"
|
|
||||||
use_max_tag = true
|
|
||||||
prefix = "v"
|
|
||||||
|
|
||||||
[ignite]
|
[ignite]
|
||||||
source = "github"
|
source = "github"
|
||||||
github = "weaveworks/ignite"
|
github = "weaveworks/ignite"
|
||||||
|
|
|
@ -1,44 +0,0 @@
|
||||||
# Maintainer: George Rawlinson <grawlinson@archlinux.org>
|
|
||||||
|
|
||||||
pkgname=cloud-hypervisor
|
|
||||||
pkgver=29.0
|
|
||||||
pkgrel=1
|
|
||||||
pkgdesc='A Virtual Machine Monitor for modern cloud workloads'
|
|
||||||
url='https://www.cloudhypervisor.org'
|
|
||||||
arch=('x86_64')
|
|
||||||
license=('Apache')
|
|
||||||
depends=('gcc-libs')
|
|
||||||
makedepends=('git' 'rust')
|
|
||||||
optdepends=('qemu-headless: for virtiofsd')
|
|
||||||
install="$pkgname.install"
|
|
||||||
options=('!lto')
|
|
||||||
_commit='6e9172bf6f9fda6543d757150d6f0c0314400bd4'
|
|
||||||
source=("$pkgname::git+https://github.com/cloud-hypervisor/cloud-hypervisor.git#commit=$_commit")
|
|
||||||
b2sums=('SKIP')
|
|
||||||
|
|
||||||
pkgver() {
|
|
||||||
cd "$pkgname"
|
|
||||||
git describe --tags | sed 's/^v//'
|
|
||||||
}
|
|
||||||
|
|
||||||
prepare() {
|
|
||||||
cd "$pkgname"
|
|
||||||
|
|
||||||
# download dependencies
|
|
||||||
cargo fetch --locked --target "$CARCH-unknown-linux-gnu"
|
|
||||||
}
|
|
||||||
|
|
||||||
build() {
|
|
||||||
cd "$pkgname"
|
|
||||||
# FTBFS: --all-features due to hypervisor not compiling
|
|
||||||
# cargo build --release --frozen --all-features
|
|
||||||
cargo build --release --frozen
|
|
||||||
}
|
|
||||||
|
|
||||||
package() {
|
|
||||||
find "$pkgname/target/release" \
|
|
||||||
-maxdepth 1 \
|
|
||||||
-executable \
|
|
||||||
-type f \
|
|
||||||
-exec install -vDm755 -t "$pkgdir/usr/bin" "{}" \+
|
|
||||||
}
|
|
|
@ -1,3 +0,0 @@
|
||||||
post_install() {
|
|
||||||
setcap cap_net_admin+ep /usr/bin/cloud-hypervisor
|
|
||||||
}
|
|
Loading…
Reference in a new issue