From: Martin Pitt Date: Sun, 5 Jun 2022 14:58:32 +0000 (+0200) Subject: build-cockpit-toolbox: Support running podman X-Git-Url: https://piware.de/gitweb/?a=commitdiff_plain;h=791a81a30e65e93bd6b10ec7ec983ec8fe79a727;p=bin.git build-cockpit-toolbox: Support running podman Use flatpak-spawn to divert to podman on the host. --- diff --git a/build-cockpit-toolbox b/build-cockpit-toolbox index d8ac387..7998e8f 100755 --- a/build-cockpit-toolbox +++ b/build-cockpit-toolbox @@ -22,7 +22,11 @@ sudo dnf install -y ansible man-pages moreutils gh \ /usr/bin/scanimage /usr/bin/pngquant /usr/bin/convert \ kpcli \ calibre qt5-qtwayland \ - chromium dbus-daemon tmt tmt-provision-virtual flatpak-builder + chromium dbus-daemon tmt tmt-provision-virtual flatpak-builder flatpak-spawn + +# run podman in toolbox +printf "flatpak-spawn --host podman \42\$@\42\n" | sudo tee /usr/local/bin/podman >/dev/null +sudo chmod a+x /usr/local/bin/podman # debugging cockpit crashes sudo dnf debuginfo-install -y glib2 glibc libssh gnutls