public inbox for linux-integrity@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/1] travis: Fix Fedora
@ 2021-04-29  5:39 Petr Vorel
  2021-04-30 12:40 ` Mimi Zohar
  0 siblings, 1 reply; 6+ messages in thread
From: Petr Vorel @ 2021-04-29  5:39 UTC (permalink / raw)
  To: linux-integrity; +Cc: Petr Vorel, Mimi Zohar

Fedora recently got 2.33, which requires on Travis CI to use podman.

Signed-off-by: Petr Vorel <pvorel@suse.cz>
---
Hi Mimi,

Tested [1].

Previously Fedora fails on autoconf issue [2], which is caused by
faccessat2 incompatibility on glibc 2.33:

/usr/bin/autoconf: This script requires a shell more modern than all
/usr/bin/autoconf: the shells that I found on your system.
/usr/bin/autoconf: Please tell bug-autoconf@gnu.org about your system,
/usr/bin/autoconf: including any error possibly output before this
/usr/bin/autoconf: message. Then install a modern shell, or manually run
/usr/bin/autoconf: the script under such a shell if you do have one.
autoreconf: /usr/bin/autoconf failed with exit status: 1

[1] https://travis-ci.org/github/pevik/ima-evm-utils/builds/768789641
[2] https://travis-ci.org/github/pevik/ima-evm-utils/jobs/767259578

 .travis.yml | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/.travis.yml b/.travis.yml
index fde774e..fa3cbae 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -32,7 +32,7 @@ matrix:
 
         # glibc (gcc/clang)
         - os: linux
-          env: DISTRO=opensuse/tumbleweed TSS=ibmtss CONTAINER=podman CONTAINER_ARGS="--runtime=/usr/bin/runc --network=host"
+          env: DISTRO=opensuse/tumbleweed TSS=ibmtss CONTAINER=podman
           compiler: clang
 
         - os: linux
@@ -48,7 +48,7 @@ matrix:
           compiler: clang
 
         - os: linux
-          env: DISTRO=fedora:latest TSS=ibmtss
+          env: DISTRO=fedora:latest TSS=ibmtss CONTAINER=podman
           compiler: clang
 
         - os: linux
@@ -68,11 +68,12 @@ matrix:
           compiler: gcc
 
 before_install:
-    # Tumbleweed requires podman and newest runc due docker incompatible with glibc 2.33 (faccessat2)
     - CONTAINER="${CONTAINER:-docker}"
+    # distros with glibc >=2.33 require podman and newest runc due docker faccessat2 incompatibility
     - >
         if [ "$CONTAINER" = "podman" ]; then
             # podman
+            CONTAINER_ARGS="--runtime=/usr/bin/runc --network=host"
             . /etc/os-release
             sudo sh -c "echo 'deb http://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable/xUbuntu_${VERSION_ID}/ /' > /etc/apt/sources.list.d/devel:kubic:libcontainers:stable.list"
             wget -nv https://download.opensuse.org/repositories/devel:kubic:libcontainers:stable/xUbuntu_${VERSION_ID}/Release.key -O- | sudo apt-key add -
-- 
2.31.1


^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2021-04-30 19:24 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-04-29  5:39 [PATCH 1/1] travis: Fix Fedora Petr Vorel
2021-04-30 12:40 ` Mimi Zohar
2021-04-30 13:24   ` Petr Vorel
2021-04-30 13:44     ` Mimi Zohar
2021-04-30 19:14       ` Petr Vorel
2021-04-30 19:24         ` Petr Vorel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox