Make Oracle Linux compatible with RDO
Oracle Linux isn't quite compatible with RDO because RDO repo-files use $releasever which is 7Server. The actual repo location is /7/ instead of /7Server/. This patch seds the repo file in question. Change-Id: I357d895d974e7c88386e673b791dfb3dc8d1e945 Closes-Bug: #1508127
This commit is contained in:
parent
1fb1fcb4de
commit
137f9808b5
|
@ -91,7 +91,8 @@ RUN yum install -y \
|
|||
|
||||
{% if base_distro == 'oraclelinux' %}
|
||||
|
||||
RUN yum install -y \
|
||||
RUN sed -i "s/\$releasever/7/" /etc/yum.repos.d/* \
|
||||
&& yum install -y \
|
||||
yum-utils \
|
||||
https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm \
|
||||
&& yum clean all
|
||||
|
|
Loading…
Reference in New Issue