From f2cbf4d4a7955dc14348f0f1d72ca85d674eb040 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miloslav=20Trma=C4=8D?= Date: Tue, 14 Jun 2022 21:01:03 +0200 Subject: [PATCH] Don't run (make install.libseccomp.sudo) on Ubuntu MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit A part of https://github.com/containers/automation_images/pull/134 , recommended in https://github.com/containers/automation_images/pull/137#issuecomment-1155487950 . Signed-off-by: Miloslav Trmač --- cache_images/podman_tooling.sh | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/cache_images/podman_tooling.sh b/cache_images/podman_tooling.sh index 41f248f5..1a829654 100644 --- a/cache_images/podman_tooling.sh +++ b/cache_images/podman_tooling.sh @@ -17,9 +17,7 @@ lilto $SUDO ./hack/install_catatonit.sh bigto $SUDO make install.tools # shellcheck disable=SC2154 -if [[ "$OS_RELEASE_ID" == "ubuntu" ]]; then - lilto $SUDO make install.libseccomp.sudo -else # Fedora +if [[ "$OS_RELEASE_ID" == "fedora" ]]; then msg "Installing swagger binary" download_url=$(\ curl -s https://api.github.com/repos/go-swagger/go-swagger/releases/latest | \