]> piware.de Git - bin.git/commitdiff
build-devtoolbox: Fix kerberos
authorMartin Pitt <martin@piware.de>
Thu, 8 Aug 2019 20:57:00 +0000 (22:57 +0200)
committerMartin Pitt <martin@piware.de>
Fri, 9 Aug 2019 16:54:06 +0000 (18:54 +0200)
Not running sssd-kcm on the host, so use a file cache.

build-devmock
build-devtoolbox

index a3a6a33dbbbc46cc24d52408f34e5d8a98e9d409..03f2f3c09109b1a044b595b4e6d38bdcb618a42c 100755 (executable)
@@ -8,7 +8,7 @@ $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 libappstream-glib \
+    virt-viewer libappstream-glib \
     expect python3-pycodestyle python3-pyflakes \
     fedpkg /usr/bin/oc /usr/bin/genisoimage \
     man-pages socat wget genisoimage vim-enhanced \
index 4eb7714298ae08e0de16a0ac1c417941e8c64dfa..7d495be3f7dd38ba042b76e9e16d527a95bbeb14 100755 (executable)
@@ -32,4 +32,10 @@ sudo dnf install -y make npm fontconfig git valgrind chromium-headless \
     pwgen glibc-langpack-en
 
 sudo dnf clean packages
+
+# unbreak kerberos; https://github.com/debarshiray/toolbox/issues/235
+cat <<EOF | sudo tee /etc/krb5.conf.d/0_file_ccache
+[libdefaults]
+    default_ccache_name = FILE:/tmp/krb5.ccache
+EOF
 '