X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=BUILD.sh;h=788f9d140323c227344b41feb4fbf23c721aa894;hb=c83255e5aaedf0b65b1391d99716b17a773aa5fe;hp=58f9c3deb6210cff27391366a30d7b3149f10769;hpb=996695a3d7bba0bce1c064e404829802454212ca;p=osm%2FSO.git diff --git a/BUILD.sh b/BUILD.sh index 58f9c3de..788f9d14 100755 --- a/BUILD.sh +++ b/BUILD.sh @@ -114,10 +114,10 @@ fi if [[ $PLATFORM == ub16 ]]; then PLATFORM_REPOSITORY=${1:-OSM} - PLATFORM_VERSION=${2:-4.3.1.0.53651} + PLATFORM_VERSION=${2:-4.3.1.0.53704} elif [[ $PLATFORM == fc20 ]]; then PLATFORM_REPOSITORY=${1:-OSM} # change to OSM when published - PLATFORM_VERSION=${2:-4.3.1.0.53651} + PLATFORM_VERSION=${2:-4.3.1.0.53705} else echo "Internal error: unknown platform $PLATFORM" exit 1 @@ -147,12 +147,15 @@ test -h /usr/rift && sudo rm -f /usr/rift if [[ $PLATFORM == ub16 ]]; then # enable the right repos curl http://repos.riftio.com/public/xenial-riftware-public-key | sudo apt-key add - + # the old mkcontainer always enabled release which can be bad + # so remove it + sudo rm -f /etc/apt/sources.list.d/release sudo curl -o /etc/apt/sources.list.d/${PLATFORM_REPOSITORY}.list http://buildtracker.riftio.com/repo_file/ub16/${PLATFORM_REPOSITORY}/ sudo apt-get update # and install the tools sudo apt remove -y rw.toolchain-rwbase tcpdump - sudo apt-get install -y rw.tools-container-tools rw.tools-scripts python + sudo apt-get install -y --allow-downgrades rw.tools-container-tools=${PLATFORM_VERSION} rw.tools-scripts=${PLATFORM_VERSION} python elif [[ $PLATFORM == fc20 ]]; then # get the container tools from the correct repository sudo rm -f /etc/yum.repos.d/private.repo