From: Martin Pitt Date: Wed, 23 Apr 2025 06:03:59 +0000 (+0200) Subject: build-cockpit-toolbox: forward buildah to host X-Git-Url: https://piware.de/gitweb/?a=commitdiff_plain;h=495d45cbb1d3d1f406f6ea48e338ce5390be0603;p=bin.git build-cockpit-toolbox: forward buildah to host --- diff --git a/build-cockpit-toolbox b/build-cockpit-toolbox index 8af7e61..d0195a5 100755 --- a/build-cockpit-toolbox +++ b/build-cockpit-toolbox @@ -28,7 +28,7 @@ sudo dnf install -y ansible bash-completion man-db man-pages moreutils fd-find r sudo dnf install -y libglvnd-gles # commands to forward to the host -for cmd in podman toolbox nmcli eog evince flatpak; do +for cmd in podman buildah toolbox nmcli eog evince flatpak; do printf "#!/bin/sh\nexec flatpak-spawn --host $cmd \42\$@\42\n" | sudo tee /usr/local/bin/$cmd >/dev/null sudo chmod a+x /usr/local/bin/$cmd done