Revert "ci: Treat SHA1 LLVM signing key as warning"

This reverts commit 3c8f5e48f7.
This commit is contained in:
will
2026-02-20 08:46:40 +00:00
parent 35e6444fdc
commit 3574905cec

View File

@@ -22,11 +22,6 @@ if [ -n "$DPKG_ADD_ARCH" ]; then
fi
if [ -n "${APT_LLVM_V}" ]; then
# Temporarily work around Sequoia PGP policy deadline for legacy repositories.
# See https://github.com/llvm/llvm-project/issues/153385.
if [ -f /usr/share/apt/default-sequoia.config ]; then
sed -i 's/\(sha1\.second_preimage_resistance =\).*/\1 9999-01-01/' /usr/share/apt/default-sequoia.config
fi
${CI_RETRY_EXE} apt-get update
${CI_RETRY_EXE} apt-get install curl -y
curl "https://apt.llvm.org/llvm-snapshot.gpg.key" | tee "/etc/apt/trusted.gpg.d/apt.llvm.org.asc"