diff options
author | Tim Rozet <trozet@redhat.com> | 2018-05-14 11:20:44 -0400 |
---|---|---|
committer | Tim Rozet <trozet@redhat.com> | 2018-05-14 13:14:15 -0400 |
commit | 0b5789905915f0468d18aa3c42eb469a331e8315 (patch) | |
tree | 87164b30189f7e09aca4a0e46579428e3171f8fd /build/overcloud-full.sh | |
parent | 283bb98ae05b77979f00716d3c9cd3fff6af3651 (diff) |
Updates undercloud/centos repo during build phase
Some dependencies are failing to install for undercloud install because
the repo has expired on the frozen stable/fraser image. The kernel
devel/headers packages are missing in the centos updates repo, so need
to specify their location.
Change-Id: I878323b01b624c452a06cf5fde40eaae196d91bd
Signed-off-by: Tim Rozet <trozet@redhat.com>
Diffstat (limited to 'build/overcloud-full.sh')
-rwxr-xr-x | build/overcloud-full.sh | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/build/overcloud-full.sh b/build/overcloud-full.sh index d4fef46c..cd2e8e85 100755 --- a/build/overcloud-full.sh +++ b/build/overcloud-full.sh @@ -172,9 +172,7 @@ LIBGUESTFS_BACKEND=direct $VIRT_CUSTOMIZE \ LIBGUESTFS_BACKEND=direct $VIRT_CUSTOMIZE \ --upload ${BUILD_ROOT}/CentOS-Updates.repo:/etc/yum.repos.d/ \ - --run-command "yum -y install kernel-devel-\$(rpm -q --queryformat '%{VERSION}-%{RELEASE}' kernel)" \ - --run-command "yum -y install kernel-headers-\$(rpm -q --queryformat '%{VERSION}-%{RELEASE}' kernel)" \ - --run-command "yum -y install kernel-tools-\$(rpm -q --queryformat '%{VERSION}-%{RELEASE}' kernel)" \ + --run-command "yum -y install ${CENTOS_UPDATE}/kernel-devel-\$(rpm -q --queryformat '%{VERSION}-%{RELEASE}' kernel).x86_64.rpm" \ --upload ${BUILD_ROOT}/build_ovs_nsh.sh:/root/ \ --upload ovs.tar.gz:/root/ \ --run-command "cd /root/ && tar xzf ovs.tar.gz" \ |