Skip to content

Commit 325ca2b

Browse files
committed
build.sh: Link the CentOS 10 gpg key in /etc/pki/rmp-gpg
The `centos-gpg-keys` is changed the location of the rpm gpg signing key in Centos 10. [1] While also moving to a SHA256 key as SHA-1 is being dropped, at least in RHEL 10. [1] https://gitlab.com/redhat/centos-stream/rpms/centos-stream-release/-/commit/e4bbded6ccfe46343d14d8f9c10c278be757921c
1 parent 86b95ba commit 325ca2b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

build.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,7 @@ install_rpms() {
8787
# CentOS-based artifacts.
8888
if [ ! -e "/etc/pki/rpm-gpg/RPM-GPG-KEY-centosofficial" ]; then
8989
ln -s /usr/share/distribution-gpg-keys/centos/RPM-GPG-KEY-CentOS-Official /etc/pki/rpm-gpg/RPM-GPG-KEY-centosofficial
90+
ln -s /usr/share/distribution-gpg-keys/centos/RPM-GPG-KEY-CentOS-Official-SHA256 /etc/pki/rpm-gpg/RPM-GPG-KEY-centosofficial-SHA256
9091
ln -s {/usr/share/distribution-gpg-keys/centos,/etc/pki/rpm-gpg}/RPM-GPG-KEY-CentOS-SIG-Cloud
9192
ln -s {/usr/share/distribution-gpg-keys/centos,/etc/pki/rpm-gpg}/RPM-GPG-KEY-CentOS-SIG-Extras-SHA512
9293
ln -s {/usr/share/distribution-gpg-keys/centos,/etc/pki/rpm-gpg}/RPM-GPG-KEY-CentOS-SIG-NFV

0 commit comments

Comments
 (0)