X-Git-Url: https://piware.de/gitweb/?p=bin.git;a=blobdiff_plain;f=build-rhtoolbox;h=f70b359d89ed7fa9cff61287e07b23668069e497;hp=c569ff3eef72190271c86555036c13f25d80dafc;hb=a61da4d9f77b0d947e1926d705ebc6ef339f1188;hpb=d5f1a071eda3b53a3f82874ede4b4a663c18115f diff --git a/build-rhtoolbox b/build-rhtoolbox index c569ff3..f70b359 100755 --- a/build-rhtoolbox +++ b/build-rhtoolbox @@ -1,7 +1,7 @@ #!/bin/sh set -eux NAME=redhat -RELEASE=32 +RELEASE=33 toolbox rm --force $NAME || true yes | toolbox create --release $RELEASE -c $NAME @@ -14,13 +14,11 @@ sudo hostname -F /etc/hostname sudo dnf update -y -# this just refuses to rpm -i normally -sudo dnf install -y cpio -rpm2cpio ~martin/Dokumente/Arbeit/RedHat/redhat-internal-cert-install-0.1-7.el7.csb.noarch.rpm | sudo cpio -id --directory=/ --verbose "./etc/pki/*" +sudo curl -o /etc/pki/ca-trust/source/anchors/RH-IT-Root-CA.crt https://password.corp.redhat.com/RH-IT-Root-CA.crt sudo update-ca-trust (cd /etc/yum.repos.d; sudo curl -O --location https://download.devel.redhat.com/rel-eng/RCMTOOLS/rcm-tools-fedora.repo) -sudo dnf install -y rhpkg +sudo dnf install -y rhpkg krb5-workstation # 1minutetip sudo umount /mnt # HACK: rhts-test-env-5.0-2.fc32eng.noarch wants to fiddle with it