File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 8989 [[ "${MARCH}" == "arm64" ]] && {
9090 echo "CGO_ENABLED=1" >> $GITHUB_ENV
9191 echo "CC=aarch64-linux-gnu-gcc" >> $GITHUB_ENV
92- echo "SECCOMP_ARCH=aarch64" >> $GITHUB_ENV
9392 }
9493 echo "${{ github.workspace }}/bin" >> $GITHUB_PATH
9594
@@ -174,7 +173,7 @@ jobs:
174173 RUNC_FLAVOR : runc
175174 run : |
176175 if [[ "${GOOS}" == "linux" ]]; then
177- sudo -E PATH=$PATH -E SECCOMP_ARCH="${SECCOMP_ARCH}" script/setup/install-seccomp
176+ sudo -E PATH=$PATH script/setup/install-seccomp
178177 fi
179178 make cri-cni-release
180179 working-directory : src/github.com/containerd/containerd
Original file line number Diff line number Diff line change @@ -27,11 +27,7 @@ export SECCOMP_PATH=$(mktemp -d)
2727curl -fsSL " https://github.com/seccomp/libseccomp/releases/download/v${SECCOMP_VERSION} /libseccomp-${SECCOMP_VERSION} .tar.gz" | tar -xzC " $SECCOMP_PATH " --strip-components=1
2828(
2929 cd " $SECCOMP_PATH "
30- host=" "
31- if [ -v SECCOMP_ARCH ]; then
32- host=" --host=${SECCOMP_ARCH} "
33- fi
34- ./configure --prefix=/usr/local ${host}
30+ ./configure --prefix=/usr/local
3531 make
3632 make install
3733 ldconfig
You can’t perform that action at this time.
0 commit comments