summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLaura Abbott <labbott@fedoraproject.org>2017-03-13 09:38:44 -0700
committerLaura Abbott <labbott@fedoraproject.org>2017-03-13 09:38:44 -0700
commit177691df09ec3379dfdf3980aeaa6f21e39d94b6 (patch)
tree804a8ad966ebdd4643a87295759684216e0065fc
parent60ccee4c585039305a8f516dcd39b72ba9bb7a07 (diff)
downloadkernel-177691df09ec3379dfdf3980aeaa6f21e39d94b6.tar.gz
kernel-177691df09ec3379dfdf3980aeaa6f21e39d94b6.tar.xz
kernel-177691df09ec3379dfdf3980aeaa6f21e39d94b6.zip
Add kerberos check to rawhide rc scripts
-rcs come out on Sunday night which means they get added to rawhide on Monday. How anyone remembers anything on a Monday morning is completely beyond me so add a hint to the rc script checking for Kerberos.
-rwxr-xr-xscripts/rawhide-rc.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/scripts/rawhide-rc.sh b/scripts/rawhide-rc.sh
index 51a3b09f2..5982403e7 100755
--- a/scripts/rawhide-rc.sh
+++ b/scripts/rawhide-rc.sh
@@ -3,6 +3,13 @@
source scripts/kernel-version.sh
+klist -s
+if [ ! $? -eq 0 ]; then
+ echo "klist couldn't read the credential cache."
+ echo "Do you need to fix your kerberos tokens?"
+ exit 1
+fi
+
make release
# fixup the release because rpmdev-bumpspec *sigh*
scripts/fixup-bumpspec.sh