diff options
author | Mauro Sardara <msardara@cisco.com> | 2021-02-11 10:07:43 +0100 |
---|---|---|
committer | Mauro Sardara <msardara@cisco.com> | 2021-02-11 10:18:37 +0100 |
commit | 32684e7a53e66bf7886f8efc2abc3851245b54ec (patch) | |
tree | 5ffdb1a621f9e74817bb0e24df3643db5e1565ae /libparc/scripts | |
parent | a63c18e7c4fedfa2d44186a9877833ef0293ca26 (diff) |
Updates for centos8 packaging.
Signed-off-by: Mauro Sardara <msardara@cisco.com>
Change-Id: Ib948789d5ea902e6dcc984204e523b726bcf8bd0
Signed-off-by: Mauro Sardara <msardara@cisco.com>
Diffstat (limited to 'libparc/scripts')
-rw-r--r-- | libparc/scripts/build-package.sh | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/libparc/scripts/build-package.sh b/libparc/scripts/build-package.sh index a16bdf54..b0086538 100644 --- a/libparc/scripts/build-package.sh +++ b/libparc/scripts/build-package.sh @@ -25,9 +25,9 @@ update_cmake_repo() { echo "nameserver 8.8.8.8" | sudo tee -a /etc/resolv.conf cat /etc/resolv.conf - CMAKE_INSTALL_SCRIPT_URL="https://cmake.org/files/v3.8/cmake-3.8.0-Linux-x86_64.sh" + CMAKE_INSTALL_SCRIPT_URL="https://github.com/Kitware/CMake/releases/download/v3.18.4/cmake-3.18.4-Linux-x86_64.sh" CMAKE_INSTALL_SCRIPT="/tmp/install_cmake.sh" - curl ${CMAKE_INSTALL_SCRIPT_URL} > ${CMAKE_INSTALL_SCRIPT} + curl -L ${CMAKE_INSTALL_SCRIPT_URL} > ${CMAKE_INSTALL_SCRIPT} sudo mkdir -p /opt/cmake sudo bash ${CMAKE_INSTALL_SCRIPT} --skip-license --prefix=/opt/cmake @@ -70,9 +70,6 @@ update_fdio_repo() { curl -s ${PACKAGECLOUD_RELEASE_REPO_DEB} | sudo bash elif [ "$DISTRIB_ID" == "CentOS" ]; then curl -s ${PACKAGECLOUD_RELEASE_REPO_RPM} | sudo bash - curl ${LATEST_EPEL_REPO} > epel-release-latest-7.noarch.rpm - rpm -ivh epel-release-latest-7.noarch.rpm || true - rm epel-release-latest-7.noarch.rpm else echo "Distribution $DISTRIB_CODENAME is not supported" exit -1 |