test/api.sh: disable rpm customization on el10/c10s
The reason is that the key that we use to test the customization uses SHA-1 in its signature. And this algorithm is no longer allowed by default on el10 / c10s. Signed-off-by: Tomáš Hozza <thozza@redhat.com>
This commit is contained in:
parent
768537dba3
commit
725c5cdb25
1 changed files with 5 additions and 0 deletions
|
|
@ -454,6 +454,11 @@ RPM_CUSTOMIZATION_BLOCK=$(cat <<EOF
|
|||
}
|
||||
EOF
|
||||
)
|
||||
# TODO: Remove once the RPM-GPG-KEY-redhat-beta does not use SHA-1
|
||||
if [[ ($ID == rhel || $ID == centos) && ${VERSION_ID%.*} == 10 ]]; then
|
||||
yellowprint "RPM-GPG-KEY-redhat-beta uses SHA-1, which is not supported on ${ID}-${VERSION_ID}. No rpm customization applied!"
|
||||
RPM_CUSTOMIZATION_BLOCK=
|
||||
fi
|
||||
export RPM_CUSTOMIZATION_BLOCK
|
||||
|
||||
RHSM_CUSTOMIZATION_BLOCK=$(cat <<EOF
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue