# enable manpages
sudo sed -i s/nodocs// /etc/dnf/dnf.conf
-# hack for flatpak-builder
-sudo mkdir -p /usr/lib/rpm/macros.d
-echo "%_netsharedpath /dev:/media:/mnt:/proc:/sys:/tmp:/var/lib/flatpak:/var/lib/libvirt" | sudo tee /usr/lib/rpm/macros.d/macros.toolbox
-
-sudo dnf install -y ansible man-pages moreutils \
- python3-boto python3-boto3 libnotify \
- pandoc texlive-ec texlive-pdfjam \
+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 \
kpcli \
calibre qt5-qtwayland \
- chromium dbus-daemon tmt tmt-provision-virtual flatpak-builder
-
-# debugging cockpit crashes
-sudo dnf debuginfo-install -y glib2 glibc libssh gnutls
+ chromium dbus-daemon tmt tmt-provision-virtual flatpak-builder flatpak-spawn
-type gh >/dev/null 2>&1 || sudo dnf install -y $(curl -s https://api.github.com/repos/cli/cli/releases/latest | grep -o https:.*_linux_amd64.rpm)
+# 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
'