Our kextutil signing check will fail for releases that require
notarization (Mojave 10.14.5 and up, Catalina 10.15 all versions),
because we aren't notarized yet at the time of the check.
Instead, disable the check for those releases.
Change-Id: Iec1b74d18ae02cdd031ed3194ffb9900aa8a1b55
Reviewed-on: https://gerrit.openafs.org/14222
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Benjamin Kaduk <kaduk@mit.edu>
"$PKGROOT"/Library/OpenAFS/Tools/root.client/usr/vice/etc/afs.kext \
"$PKGROOT"/private/var/db/openafs/etc/afs.kext
do
- kextutil -no-load -print-diagnostics "$kext"
+ # This check will fail on systems that require notarization, because we haven't
+ # notarized anything yet. For now, just disable the check for those versions.
+ if [ $THISREL -ge 14 ]; then
+ echo "Skipping kextutil checks for $kext"
+ else
+ kextutil -no-load -print-diagnostics "$kext"
+ fi
done
fi