Updating to gVisor v20210628.0
This commit is contained in:
parent
99c95c4f62
commit
b9f49bc3f0
4 changed files with 13 additions and 15 deletions
9
.SRCINFO
9
.SRCINFO
|
@ -1,18 +1,17 @@
|
|||
pkgbase = gvisor-bin
|
||||
pkgdesc = OCI container sandbox runtime focused on security, efficiency, and ease of use
|
||||
pkgver = 20210518.0
|
||||
pkgver = 20210628.0
|
||||
pkgrel = 1
|
||||
url = https://gvisor.dev
|
||||
install = gvisor-bin.install
|
||||
arch = x86_64
|
||||
license = Apache
|
||||
depends = docker
|
||||
optdepends = docker: for Docker runtime support
|
||||
provides = gvisor
|
||||
provides = runsc
|
||||
conflicts = gvisor-git
|
||||
conflicts = runsc
|
||||
source = gvisor-bin-20210518.0::https://storage.googleapis.com/gvisor/releases/release/20210518.0/x86_64/runsc
|
||||
b2sums = 7983fc051ed641d13b1ac3039a764ca0cb6af3c3e007bb682c6d7d8aad7d29483f3cebc6fae913e3832b08d2a8f36194a4e2ccbbc0418f25275137655f9944b8
|
||||
source = gvisor-bin-20210628.0::https://storage.googleapis.com/gvisor/releases/release/20210628/x86_64/runsc
|
||||
b2sums = 12ae13d2fab74265a549feb91cfb9fb10a261de10285ac816b254d105b0a11c87dbccd82e185840a250f8dc5c9eb6cf3803b6d3f7f58bc2998033856e2155b43
|
||||
|
||||
pkgname = gvisor-bin
|
||||
|
||||
|
|
3
.gitignore
vendored
3
.gitignore
vendored
|
@ -1,4 +1,3 @@
|
|||
*.tar.*
|
||||
gvisor-bin-*
|
||||
gvisor*
|
||||
pkg/
|
||||
src/
|
||||
|
|
8
PKGBUILD
8
PKGBUILD
|
@ -2,13 +2,13 @@
|
|||
|
||||
pkgname=gvisor-bin
|
||||
_pkgname=runsc
|
||||
pkgver=20210518.0
|
||||
pkgver=20210628.0
|
||||
pkgrel=1
|
||||
pkgdesc='OCI container sandbox runtime focused on security, efficiency, and ease of use'
|
||||
arch=('x86_64')
|
||||
url='https://gvisor.dev'
|
||||
license=('Apache')
|
||||
depends=('docker')
|
||||
optdepends=('docker: for Docker runtime support')
|
||||
provides=(
|
||||
"${pkgname%-bin}"
|
||||
"$_pkgname"
|
||||
|
@ -18,8 +18,8 @@ conflicts=(
|
|||
"$_pkgname"
|
||||
)
|
||||
install="$pkgname.install"
|
||||
source=("$pkgname-$pkgver::https://storage.googleapis.com/${pkgname%-bin}/releases/release/$pkgver/$arch/$_pkgname")
|
||||
b2sums=(7983fc051ed641d13b1ac3039a764ca0cb6af3c3e007bb682c6d7d8aad7d29483f3cebc6fae913e3832b08d2a8f36194a4e2ccbbc0418f25275137655f9944b8)
|
||||
source=("$pkgname-$pkgver::https://storage.googleapis.com/${pkgname%-bin}/releases/release/${pkgver%.[0-9]}/$arch/$_pkgname")
|
||||
b2sums=(12ae13d2fab74265a549feb91cfb9fb10a261de10285ac816b254d105b0a11c87dbccd82e185840a250f8dc5c9eb6cf3803b6d3f7f58bc2998033856e2155b43)
|
||||
|
||||
package() {
|
||||
install -Dm 755 "$pkgname-$pkgver" "$pkgdir/usr/bin/$_pkgname"
|
||||
|
|
|
@ -1,15 +1,15 @@
|
|||
post_install() {
|
||||
runsc install
|
||||
pacman --query docker &> /dev/null && runsc install
|
||||
}
|
||||
|
||||
pre_upgrade() {
|
||||
runsc uninstall
|
||||
pacman --query docker &> /dev/null && runsc uninstall
|
||||
}
|
||||
|
||||
post_upgrade() {
|
||||
runsc install
|
||||
pacman --query docker &> /dev/null && runsc install
|
||||
}
|
||||
|
||||
pre_remove() {
|
||||
runsc uninstall
|
||||
pacman --query docker &> /dev/null && runsc uninstall
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue