]> piware.de Git - bin.git/blobdiff - build-cockpit-toolbox
build-cockpit-toolbox: Forward more commands to the host
[bin.git] / build-cockpit-toolbox
index 0ff0f7e2c172f1f586f2cc4ca9794c297db18751..aab0d3285eb053f07443d57401943e24cbe4e3ca 100755 (executable)
@@ -18,16 +18,14 @@ sudo sed -i s/nodocs// /etc/dnf/dnf.conf
 
 sudo dnf install -y ansible man-db man-pages moreutils fd-find ripgrep gh \
     python3-boto python3-boto3 python3-openstacksdk libnotify \
-    pandoc texlive-ec texlive-pdfjam texlive-beamer \
-    /usr/bin/scanimage /usr/bin/pngquant /usr/bin/convert \
+    simple-scan /usr/bin/scanimage /usr/bin/pngquant /usr/bin/convert pdfmerge \
     kpcli \
     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
-
-# debugging cockpit crashes
-sudo dnf debuginfo-install -y glib2 glibc libssh gnutls
+# 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
 '