Add support for ARMv8
This commit is contained in:
parent
d916f2b869
commit
cf89b2a664
2 changed files with 14 additions and 9 deletions
11
.SRCINFO
11
.SRCINFO
|
@ -1,16 +1,19 @@
|
||||||
pkgbase = gvisor-bin
|
pkgbase = gvisor-bin
|
||||||
pkgdesc = OCI container sandbox runtime focused on security, efficiency, and ease of use
|
pkgdesc = OCI container sandbox runtime focused on security, efficiency, and ease of use
|
||||||
pkgver = 20220228.0
|
pkgver = 20220228.0
|
||||||
pkgrel = 1
|
pkgrel = 2
|
||||||
url = https://gvisor.dev
|
url = https://gvisor.dev
|
||||||
arch = x86_64
|
arch = x86_64
|
||||||
|
arch = aarch64
|
||||||
license = Apache
|
license = Apache
|
||||||
optdepends = docker: for Docker runtime support
|
optdepends = docker: for Docker runtime support
|
||||||
provides = gvisor
|
provides = gvisor
|
||||||
provides = runsc
|
provides = runsc
|
||||||
conflicts = gvisor-git
|
conflicts = gvisor
|
||||||
conflicts = runsc
|
conflicts = runsc
|
||||||
source = gvisor-bin-20220228.0::https://storage.googleapis.com/gvisor/releases/release/20220228/x86_64/runsc
|
source_x86_64 = gvisor-bin-20220228.0::https://storage.googleapis.com/gvisor/releases/release/20220228/x86_64/runsc
|
||||||
sha512sums = 00b65f872785f77d61c789c4589e56d085697ef6d6c89370dceca0d464df7d267a65b2fcd63bd7513910b28e72cc9f22991139c262b42c84a25f0f55136ba736
|
sha512sums_x86_64 = 00b65f872785f77d61c789c4589e56d085697ef6d6c89370dceca0d464df7d267a65b2fcd63bd7513910b28e72cc9f22991139c262b42c84a25f0f55136ba736
|
||||||
|
source_aarch64 = gvisor-bin-20220228.0::https://storage.googleapis.com/gvisor/releases/release/20220228/aarch64/runsc
|
||||||
|
sha512sums_aarch64 = 09b1148d9ca601236e0bc37bedb2439e1ccf725396343ed895746e688d095669a8be190b201d1c4129b7dfcef7d80780b525563ce3202c83f24874422d071a8e
|
||||||
|
|
||||||
pkgname = gvisor-bin
|
pkgname = gvisor-bin
|
||||||
|
|
12
PKGBUILD
12
PKGBUILD
|
@ -4,9 +4,9 @@
|
||||||
pkgname='gvisor-bin'
|
pkgname='gvisor-bin'
|
||||||
_pkgname='runsc'
|
_pkgname='runsc'
|
||||||
pkgver=20220228.0
|
pkgver=20220228.0
|
||||||
pkgrel=1
|
pkgrel=2
|
||||||
pkgdesc='OCI container sandbox runtime focused on security, efficiency, and ease of use'
|
pkgdesc='OCI container sandbox runtime focused on security, efficiency, and ease of use'
|
||||||
arch=('x86_64')
|
arch=('x86_64' 'aarch64')
|
||||||
url='https://gvisor.dev'
|
url='https://gvisor.dev'
|
||||||
license=('Apache')
|
license=('Apache')
|
||||||
optdepends=('docker: for Docker runtime support')
|
optdepends=('docker: for Docker runtime support')
|
||||||
|
@ -15,11 +15,13 @@ provides=(
|
||||||
"$_pkgname"
|
"$_pkgname"
|
||||||
)
|
)
|
||||||
conflicts=(
|
conflicts=(
|
||||||
"${pkgname%-bin}-git"
|
"${pkgname%-bin}"
|
||||||
"$_pkgname"
|
"$_pkgname"
|
||||||
)
|
)
|
||||||
source=("$pkgname-$pkgver::https://storage.googleapis.com/${pkgname%-bin}/releases/release/${pkgver%.[0-9]}/$CARCH/$_pkgname")
|
source_x86_64=("$pkgname-$pkgver::https://storage.googleapis.com/${pkgname%-bin}/releases/release/${pkgver%.[0-9]}/x86_64/$_pkgname")
|
||||||
sha512sums=('00b65f872785f77d61c789c4589e56d085697ef6d6c89370dceca0d464df7d267a65b2fcd63bd7513910b28e72cc9f22991139c262b42c84a25f0f55136ba736')
|
source_aarch64=("$pkgname-$pkgver::https://storage.googleapis.com/${pkgname%-bin}/releases/release/${pkgver%.[0-9]}/aarch64/$_pkgname")
|
||||||
|
sha512sums_x86_64=('00b65f872785f77d61c789c4589e56d085697ef6d6c89370dceca0d464df7d267a65b2fcd63bd7513910b28e72cc9f22991139c262b42c84a25f0f55136ba736')
|
||||||
|
sha512sums_aarch64=('09b1148d9ca601236e0bc37bedb2439e1ccf725396343ed895746e688d095669a8be190b201d1c4129b7dfcef7d80780b525563ce3202c83f24874422d071a8e')
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
install -Dm 755 "$pkgname-$pkgver" "$pkgdir/usr/bin/$_pkgname"
|
install -Dm 755 "$pkgname-$pkgver" "$pkgdir/usr/bin/$_pkgname"
|
||||||
|
|
Loading…
Reference in a new issue