summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn Andersen2017-07-12 08:01:56 -0700
committerJohn Andersen2017-07-12 08:01:56 -0700
commit468980b77c5009ac6f69f74e09616769ae333eac (patch)
treea58e8cd96c39a18a4335a5d302b85dbf87deb226
parent0ae7c8c6ff1b1e96e55864f949b627b527160c61 (diff)
downloadaur-468980b77c5009ac6f69f74e09616769ae333eac.tar.gz
Updated to 2.2.2 thanks to kang on AUR
Signed-off-by: John Andersen <johnandersenpdx@gmail.com>
-rw-r--r--.gitignore2
-rw-r--r--PKGBUILD29
2 files changed, 17 insertions, 14 deletions
diff --git a/.gitignore b/.gitignore
index 810ab250922..7aab05eb6e4 100644
--- a/.gitignore
+++ b/.gitignore
@@ -2,3 +2,5 @@
src/
pkg/
*.tar.xz
+*.rpm
+*.xz
diff --git a/PKGBUILD b/PKGBUILD
index c760191078c..27546f1a2ee 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,18 +2,18 @@
# Maintainer: John Andersen <johnandersenpdx@gmail.com>
pkgname=cc-oci-runtime
-pkgver=2.1.0
-__postfix_ver="-rc.3"
-__clear_img_ver=12000
+pkgver=2.2.2
+__postfix_ver=""
+__clear_img_ver=16390
__clear_img=clear-${__clear_img_ver}-containers
-__clear_kernel_rpm=linux-container-4.5-50.x86_64.rpm
-__clear_oci_rpm_sha=8c8b25e15101a04ed758ba486fc8be8076e40d7f-12
+__clear_kernel_rpm=linux-container-4.9.35-76.x86_64.rpm
+__clear_oci_rpm_sha=2.1.8-22
__clear_oci_rpm=cc-oci-runtime-${__clear_oci_rpm_sha}.x86_64.rpm
__clear_oci_rpm_extras=cc-oci-runtime-extras-${__clear_oci_rpm_sha}.x86_64.rpm
__clear_oci_rpm_data=cc-oci-runtime-data-${__clear_oci_rpm_sha}.x86_64.rpm
__clear_oci_rpm_config=cc-oci-runtime-config-${__clear_oci_rpm_sha}.x86_64.rpm
__clear_oci_rpm_bin=cc-oci-runtime-bin-${__clear_oci_rpm_sha}.x86_64.rpm
-__cc_oci_runtime=linux-container-4.5-50.x86_64.rpm
+__cc_oci_runtime=linux-container-4.9.35-76.x86_64.rpm
__cl_url=https://download.clearlinux.org/releases/${__clear_img_ver}/clear
pkgrel=1
pkgdesc="Intel Clear Containers runtime"
@@ -28,6 +28,7 @@ makedepends=('go'
'check'
'sed'
'bash-bats'
+ 'autoconf-archive'
'gcc')
checkdepends=('valgrind')
source=("https://github.com/01org/cc-oci-runtime/archive/${pkgver}${__postfix_ver}.tar.gz"
@@ -39,13 +40,13 @@ source=("https://github.com/01org/cc-oci-runtime/archive/${pkgver}${__postfix_ve
# "${__cl_url}/x86_64/os/Packages/${__clear_oci_rpm_bin}"
"${__cl_url}/x86_64/os/Packages/${__clear_oci_rpm}"
)
-sha1sums=('a0d3ec7afbdee60623eb2b1edc82f3615c6b767b'
- 'c78fa07966bc0a01f810d4759534a17895a1ee3d'
- '4653cbdac9530620e04dc10f94f26c4d1ea9ea7a'
- '33528235696954d7809838d342417fce821a747b'
- '612841ee658b9feb60b4d661015ee0fa074041f3'
- '11f6a756a6348e321ed6f595863e6abff2a1bcb9'
- '5c78daf0644abbb43804041a5496f43d8d10803f')
+sha1sums=('319874d981f263ac98db069a2d624d744c984dde'
+ '54b275ae7a96673106f9cd2301d3a8ce9c9a7722'
+ '844ad63677365c71f0055648086b584716391cc6'
+ '9f7b0b539c65368d7a2e73f9b7b3d9bac374ad81'
+ '958ec7db768c21aec712b9f81e0992bdb08e1e79'
+ 'd5c9353301927008141aa3fa17906be50bf7778b'
+ '225eb8e68be104f91e3adb676dc91bd099bce9f0')
build() {
export GOPATH=$PWD
@@ -73,7 +74,7 @@ package() {
mv ${__clear_img}.img $pkgdir/usr/share/clear-containers/
__DIR=$PWD
cd $pkgdir/usr/share/clear-containers/
- ln -s clear-12000-containers.img clear-containers.img
+ ln -s clear-${__clear_img_ver}-containers.img clear-containers.img
cd $__DIR
cd "$GOPATH/src/github.com/01org/cc-oci-runtime"
make DESTDIR="$pkgdir/" install