From 32684e7a53e66bf7886f8efc2abc3851245b54ec Mon Sep 17 00:00:00 2001 From: Mauro Sardara Date: Thu, 11 Feb 2021 10:07:43 +0100 Subject: Updates for centos8 packaging. Signed-off-by: Mauro Sardara Change-Id: Ib948789d5ea902e6dcc984204e523b726bcf8bd0 Signed-off-by: Mauro Sardara --- libparc/scripts/build-package.sh | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'libparc') 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 -- cgit 1.2.3-korg