From: Martin Pitt Date: Mon, 16 Jan 2023 11:07:40 +0000 (+0100) Subject: build-cockpit-toolbox: Forward more commands to the host X-Git-Url: https://piware.de/gitweb/?a=commitdiff_plain;h=abd8714f8d6bea13e4039d3c40841226549e9c94;p=bin.git build-cockpit-toolbox: Forward more commands to the host --- diff --git a/build-cockpit-toolbox b/build-cockpit-toolbox index 4ddd582..aab0d32 100755 --- a/build-cockpit-toolbox +++ b/build-cockpit-toolbox @@ -23,7 +23,9 @@ sudo dnf install -y ansible man-db man-pages moreutils fd-find ripgrep gh \ calibre qt5-qtwayland \ 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 +# commands to forward to the host +for cmd in podman toolbox nmcli eog evince; do + printf "flatpak-spawn --host $cmd \42\$@\42\n" | sudo tee /usr/local/bin/$cmd >/dev/null + sudo chmod a+x /usr/local/bin/$cmd +done '