X-Git-Url: https://piware.de/gitweb/?p=bin.git;a=blobdiff_plain;f=build-cockpit-toolbox;h=a3a553641526b69f780cd2fc63713064633a1281;hp=6fc6e865ef7baf1c22db77ac0fb4b675ce9e7563;hb=204c9a137e8c1844a87d74c70c5d1c5f64570f3e;hpb=358ba36ca7350ba1aa57d2d1700b1ff653323c11 diff --git a/build-cockpit-toolbox b/build-cockpit-toolbox index 6fc6e86..a3a5536 100755 --- a/build-cockpit-toolbox +++ b/build-cockpit-toolbox @@ -3,9 +3,10 @@ set -eux NAME=cockpit toolbox rm --force $NAME || true +podman pull quay.io/cockpit/tasks yes | toolbox create --image quay.io/cockpit/tasks -c $NAME -# install cockpit's build deps and other development tools +# install some extra development and desktop tools toolbox run -c "$NAME" sh -exc ' # useful hostname echo "cockpit-toolbox" | sudo tee /etc/hostname @@ -14,12 +15,20 @@ sudo hostname -F /etc/hostname # enable manpages sudo sed -i s/nodocs// /etc/dnf/dnf.conf -sudo dnf install -y ansible man-pages standard-test-roles pwgen \ - python3-boto python3-boto3 \ +sudo dnf install -y ansible man-pages moreutils \ + python3-boto python3-boto3 libnotify \ pandoc texlive-ec texlive-pdfjam \ /usr/bin/scanimage /usr/bin/pngquant /usr/bin/convert \ - calibre qt5-qtwayland + kpcli \ + calibre qt5-qtwayland \ + dbus-daemon tmt testcloud +# qemu:///session support for testcloud: https://pagure.io/testcloud/pull-request/83# +sudo dnf install -y https://download.copr.fedorainfracloud.org/results/frantisekz/testcloud-wip/fedora-33-x86_64/02076914-testcloud/python3-testcloud-0.4.0-6.fc33.noarch.rpm https://download.copr.fedorainfracloud.org/results/frantisekz/testcloud-wip/fedora-33-x86_64/02076914-testcloud/testcloud-0.4.0-6.fc33.noarch.rpm +# uses qemu:///session +sudo dnf install -y https://download.copr.fedorainfracloud.org/results/frantisekz/testcloud-wip/fedora-33-x86_64/02076588-tmt/python3-tmt-1.3.1-2.fc33.noarch.rpm https://download.copr.fedorainfracloud.org/results/frantisekz/testcloud-wip/fedora-33-x86_64/02076588-tmt/tmt-1.3.1-2.fc33.noarch.rpm https://download.copr.fedorainfracloud.org/results/frantisekz/testcloud-wip/fedora-33-x86_64/02076588-tmt/tmt-provision-virtual-1.3.1-2.fc33.noarch.rpm + +# debugging cockpit crashes sudo dnf debuginfo-install -y glib2 glibc libssh gnutls 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)