update seccomp version

Signed-off-by: Mike Brown <brownwm@us.ibm.com>
This commit is contained in:
Mike Brown 2021-05-03 18:44:40 -05:00
parent 8c906ff108
commit b56527cb7e
4 changed files with 5 additions and 2 deletions

View File

@ -359,6 +359,7 @@ jobs:
env: env:
RUNC_FLAVOR: ${{ matrix.runc }} RUNC_FLAVOR: ${{ matrix.runc }}
run: | run: |
sudo apt-get install -y gperf
sudo -E PATH=$PATH script/setup/install-seccomp sudo -E PATH=$PATH script/setup/install-seccomp
sudo -E PATH=$PATH script/setup/install-runc sudo -E PATH=$PATH script/setup/install-runc
sudo -E PATH=$PATH script/setup/install-cni sudo -E PATH=$PATH script/setup/install-cni

View File

@ -132,6 +132,8 @@ jobs:
RUNC_FLAVOR: runc RUNC_FLAVOR: runc
run: | run: |
if [[ "${OS}" == "linux" ]]; then if [[ "${OS}" == "linux" ]]; then
sudo apt-get update
sudo apt-get install -y gperf
sudo -E PATH=$PATH script/setup/install-seccomp sudo -E PATH=$PATH script/setup/install-seccomp
fi fi
make cri-cni-release make cri-cni-release

View File

@ -11,7 +11,7 @@
set -xe set -xe
set -o pipefail set -o pipefail
apt-get update apt-get update
apt-get install -y btrfs-tools libseccomp-dev git pkg-config lsof apt-get install -y btrfs-tools libseccomp-dev git pkg-config lsof gperf
go version go version
chdir: '{{ zuul.project.src_dir }}' chdir: '{{ zuul.project.src_dir }}'

View File

@ -22,7 +22,7 @@ set -eu -o pipefail
set -x set -x
export SECCOMP_VERSION=2.3.3 export SECCOMP_VERSION=2.5.1
export SECCOMP_PATH=$(mktemp -d) export SECCOMP_PATH=$(mktemp -d)
curl -fsSL "https://github.com/seccomp/libseccomp/releases/download/v${SECCOMP_VERSION}/libseccomp-${SECCOMP_VERSION}.tar.gz" | tar -xzC "$SECCOMP_PATH" --strip-components=1 curl -fsSL "https://github.com/seccomp/libseccomp/releases/download/v${SECCOMP_VERSION}/libseccomp-${SECCOMP_VERSION}.tar.gz" | tar -xzC "$SECCOMP_PATH" --strip-components=1
( (