]> piware.de Git - bin.git/blobdiff - build-cockpit-toolbox
build-cockpit-toolbox: Add pytest
[bin.git] / build-cockpit-toolbox
index 4ddd582cd88ec406e30e75d29d207c0788e93b7e..78176817e250ceb89a7f59433a820c19b8bc1dd3 100755 (executable)
@@ -16,14 +16,16 @@ sudo hostname -F /etc/hostname
 # enable manpages
 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 \
+sudo dnf install -y ansible man-db man-pages moreutils fd-find ripgrep gh neovim \
+    python3-boto python3-boto3 python3-openstacksdk python3-pytest libnotify \
     simple-scan /usr/bin/scanimage /usr/bin/pngquant /usr/bin/convert pdfmerge \
-    kpcli \
+    cargo rustfmt clippy \
     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
 '