X-Git-Url: https://piware.de/gitweb/?p=bin.git;a=blobdiff_plain;f=build-devmock;h=03f2f3c09109b1a044b595b4e6d38bdcb618a42c;hp=410ac32c9f14ab5c9dd4f0465e036210d5e28f59;hb=b7eeef18f0bfc16443620ddb202d329438f2f2ac;hpb=f376e407071606cf3ef0e281be654ea39a0380d0 diff --git a/build-devmock b/build-devmock index 410ac32..03f2f3c 100755 --- a/build-devmock +++ b/build-devmock @@ -8,11 +8,11 @@ $MOCK --clean $MOCK -i $(sed -n '/^BuildRequires:/ {s/^.*: //; s/>=.*$//; s/%{.*}//; p}' ~/upstream/cockpit/tools/cockpit.spec) \ npm fontconfig git valgrind chromium-headless \ libvirt-daemon-kvm libvirt-client python3-libvirt \ - virt-viewer libguestfs-tools-c \ + virt-viewer libappstream-glib \ expect python3-pycodestyle python3-pyflakes \ fedpkg /usr/bin/oc /usr/bin/genisoimage \ man-pages socat wget genisoimage vim-enhanced \ - ansible standard-test-roles rsync + ansible standard-test-roles rsync waiverdb-cli # interactive shell sessions work as user martin, not builder $MOCK --unpriv --copyin /dev/stdin /builddir/.bashrc <> /etc/dnf/dnf.conf; curl --location https://download.devel.redhat.com/rel-eng/RCMTOOLS/rcm-tools-fedora.repo >> /etc/dnf/dnf.conf' -$MOCK -i rhpkg +$MOCK --chroot -- 'echo >> /etc/dnf/dnf.conf; curl --location https://download.devel.redhat.com/rel-eng/RCMTOOLS/rcm-tools-fedora.repo >> /etc/dnf/dnf.conf; dnf install -y rhpkg' + +# set up waiverdb +mock --chroot -- 'printf "[waiverdb]\nauth_method=Kerberos\nresultsdb_api_url=https://resultsdb-api.engineering.redhat.com/api/v2.0\napi_url=https://waiverdb.engineering.redhat.com/api/v1.0\nkrb_principal=HTTP/waiverdb.engineering.redhat.com@REDHAT.COM\n" > /etc/waiverdb/client.conf' +mock --chroot -- 'sed -i "/\[libdefaults\]/ s/$/\n dns_canonicalize_hostname = false/" /etc/krb5.conf' # ssh looks at passwd, not $HOME $MOCK --chroot --unpriv -- rm -rf /builddir/.ssh