Hardcoding x86_64 in template overrides for the opendaylight repository

The opendaylight packages are built noarch, but hosted on a repo defined as
x86_64.  Hard-coding the URL for x86_64 allows the packages to be used on other
architectures, and can be easily removed when the repositories become archful.

Change-Id: Ie22471f68035e7a26458fb3361ccde86cc4089a1
This commit is contained in:
Trevor Vardeman 2018-09-21 10:50:30 -05:00
parent 0748854d11
commit 57ea8b1909
1 changed files with 5 additions and 1 deletions

View File

@ -9,7 +9,11 @@
{% block opendaylight_header %}
RUN echo $'[opendaylight-8-devel]\n\
name=OpenDaylight Oxygen repository\n\
baseurl=https://nexus.opendaylight.org/content/repositories/opendaylight-oxygen-epel-7-$basearch-devel/\n\
# The opendaylight packages are currently built noarch, but the repo hosting
# them is hard-coded as an x86_64 repository. To enable multiarch use of the
# packages, we can hard-code x86_64 below, and update when the repository
# definitions are archful.
baseurl=https://nexus.opendaylight.org/content/repositories/opendaylight-oxygen-epel-7-x86_64-devel/\n\
enabled=1\n\
gpgcheck=0' >> /etc/yum.repos.d/opendaylight.repo
{% endblock %}