From 21f34477f5fc614acf826bceb3d079d243b22472 Mon Sep 17 00:00:00 2001 From: Jeremy Mordkoff Date: Tue, 12 Dec 2017 19:15:25 -0500 Subject: [PATCH] new platform release Signed-off-by: Jeremy Mordkoff --- BUILD.sh | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/BUILD.sh b/BUILD.sh index a2cbff29..1f55b1a1 100755 --- a/BUILD.sh +++ b/BUILD.sh @@ -64,7 +64,6 @@ while true; do echo " $MODULE can be installed from a Debian package repository." echo echo " --install: install $MODULE from package" - echo " PLATFORM_REPOSITORY (optional): name of the RIFT.ware repository." echo " PLATFORM_VERSION (optional): version of the platform packages to be installed." echo exit 0;; @@ -92,7 +91,7 @@ cd $(dirname $0) curl http://repos.riftio.com/public/xenial-riftware-public-key | sudo apt-key add - # always use the same file name so that updates will overwrite rather than enable a second repo -sudo curl -o /etc/apt/sources.list.d/rift.list http://buildtracker.riftio.com/repo_file/ub16/${PLATFORM_REPOSITORY}/ +echo "deb https://artifactory.riftio.com/debian-OSM xenial main" >/etc/apt/sources.list.d/rift.list sudo apt-get update sudo apt install -y --allow-downgrades rw.tools-container-tools=${PLATFORM_VERSION} rw.tools-scripts=${PLATFORM_VERSION} @@ -100,12 +99,12 @@ sudo apt install -y --allow-downgrades rw.tools-container-tools=${PLATFORM_VERSI if $installFromPackages; then # Install module and platform from packages - sudo -H /usr/rift/container_tools/mkcontainer --modes $MODULE --repo ${PLATFORM_REPOSITORY} --rw-version ${PLATFORM_VERSION} + sudo -H /usr/rift/container_tools/mkcontainer --modes $MODULE --rw-version ${PLATFORM_VERSION} else # Install environment to build module - sudo -H /usr/rift/container_tools/mkcontainer --modes $MODULE-dev --repo ${PLATFORM_REPOSITORY} --rw-version ${PLATFORM_VERSION} + sudo -H /usr/rift/container_tools/mkcontainer --modes $MODULE-dev --rw-version ${PLATFORM_VERSION} sudo -H pip3 install --upgrade pip sudo -H pip3 install setuptools sudo -H pip3 install juju -- 2.25.1