X-Git-Url: https://piware.de/gitweb/?p=bin.git;a=blobdiff_plain;f=build-cockpit-toolbox;h=a086c48d8de1893c2856ddf19e6f92fef0873061;hp=55d87eb6e947b5a6625d187cd0d74ed292500721;hb=90cfde43c35e86b4db48f7bbcab16b959a5f2e96;hpb=18e95e0c178a3889a912724aa2a9e3b146756f6f diff --git a/build-cockpit-toolbox b/build-cockpit-toolbox index 55d87eb..a086c48 100755 --- a/build-cockpit-toolbox +++ b/build-cockpit-toolbox @@ -16,42 +16,15 @@ sudo hostname -F /etc/hostname # enable manpages sudo sed -i s/nodocs// /etc/dnf/dnf.conf -sudo dnf install -y ansible man-pages moreutils gh \ - python3-boto python3-boto3 libnotify \ +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 flatpak-builder flatpak-spawn - -# HACK: tmt-provision-virtual has way too heavy dependencies: https://bugzilla.redhat.com/show_bug.cgi?id=2093717 -cat < /tmp/spec -Name: dummy-deps -Summary: dummy dependencies -Version: 999 -Release: 1%{?dist} -# https://bugzilla.redhat.com/show_bug.cgi?id=2093717 -Provides: python3-libguestfs -Provides: libguestfs-tools-c -# also for tmt-provision-virtual -Provides: libvirt -License: BSD - -%description -Dummy dependencies to avoid bloat. - -%files -EOF -rpmbuild --define "_topdir /tmp/rpmbuild-dummy" -bb /tmp/spec -sudo rpm -i --verbose /tmp/rpmbuild-dummy/RPMS/x86_64/dummy-deps-999-1.fc35.x86_64.rpm -rm -rf /tmp/rpmbuild-dummy /tmp/spec - -sudo dnf install -y --setopt=install_weak_deps=False tmt tmt-provision-virtual + 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 '