centos: do not install CentOS Rabbitmq repo twice on AArch64

Change-Id: I320d0795ce11ca00398cec6183ed140d31d3fd80
This commit is contained in:
Marcin Juszkiewicz 2021-04-28 11:34:57 +02:00
parent 6dfae74813
commit 0380740977

View File

@ -228,10 +228,6 @@ RUN rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-centosofficial
{% set base_centos_yum_repos_to_disable = base_centos_yum_repos_to_disable + [
'influxdb',
] %}
{% elif base_arch == 'aarch64' %}
{% set base_centos_yum_repo_packages = base_centos_yum_repo_packages + [
'centos-release-rabbitmq-38'
] %}
{% endif %}
RUN {{ macros.install_packages(base_centos_yum_repo_packages | customizable("centos_yum_repo_packages"), chain=True, clean=False) }}