X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=BUILD.sh;h=ab1e685c76ddc3c4eb725ae9b210cafe140ea2d4;hb=15c9f9506466c01813690b29d6a529289817751f;hp=b472156272aba6161b1bae6a8f7b28e0b018ce58;hpb=d157a7b8d9fc18fc3576583afd8926adc773dde4;p=osm%2FSO.git diff --git a/BUILD.sh b/BUILD.sh index b4721562..ab1e685c 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.53704} + PLATFORM_VERSION=${2:-4.4.2.0.60195} elif [[ $PLATFORM == fc20 ]]; then PLATFORM_REPOSITORY=${1:-OSM} # change to OSM when published - PLATFORM_VERSION=${2:-4.3.1.0.53705} + PLATFORM_VERSION=${2:-4.4.2.0.60195} else echo "Internal error: unknown platform $PLATFORM" exit 1 @@ -149,8 +149,9 @@ if [[ $PLATFORM == ub16 ]]; then 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 rm -f /etc/apt/sources.list.d/release.list /etc/apt/sources.list.d/rbac.list /etc/apt/sources.list.d/OSM.list + # 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}/ sudo apt-get update # and install the tools @@ -184,9 +185,9 @@ if [[ $PLATFORM == ub16 ]]; then # ignore failures PACKAGES="rw.toolchain-rwbase rw.toolchain-rwtoolchain rw.core.mgmt-mgmt rw.core.util-util \ - rw.core.rwvx-rwvx rw.core.rwvx-rwdts rw.automation.core-RWAUTO rw.core.rwvx-rwha-1.0" + rw.core.rwvx-rwvx rw.core.rwvx-rwdts rw.automation.core-RWAUTO" # this package is obsolete. - OLD_PACKAGES="" + OLD_PACKAGES="rw.core.rwvx-rwha-1.0" for package in $PACKAGES $OLD_PACKAGES; do sudo apt remove -y $package || true done @@ -203,20 +204,47 @@ if [[ $PLATFORM == ub16 ]]; then if $installSO; then sudo apt-get install -y \ - rw.core.mc-\*=${PLATFORM_VERSION} + rw.core.mano-rwcal_yang_ylib-1.0 \ + rw.core.mano-rwconfig_agent_yang_ylib-1.0 \ + rw.core.mano-rwlaunchpad_yang_ylib-1.0 \ + rw.core.mano-mano_yang_ylib-1.0 \ + rw.core.mano-common-1.0 \ + rw.core.mano-rwsdn_yang_ylib-1.0 \ + rw.core.mano-rwsdnal_yang_ylib-1.0 \ + rw.core.mano-rwsdn-1.0 \ + rw.core.mano-mano-types_yang_ylib-1.0 \ + rw.core.mano-rwcal-cloudsim-1.0 \ + rw.core.mano-rwcal-1.0 \ + rw.core.mano-rw_conman_yang_ylib-1.0 \ + rw.core.mano-rwcalproxytasklet-1.0 \ + rw.core.mano-rwlaunchpad-1.0 \ + rw.core.mano-rwcal-openmano-vimconnector-1.0 \ + rw.core.mano-rwcal-propcloud1-1.0 \ + rw.core.mano-lpmocklet_yang_ylib-1.0 \ + rw.core.mano-rwmon-1.0 \ + rw.core.mano-rwcloud_yang_ylib-1.0 \ + rw.core.mano-rwcal-openstack-1.0 \ + rw.core.mano-rw.core.mano_foss \ + rw.core.mano-rwmon_yang_ylib-1.0 \ + rw.core.mano-rwcm-1.0 \ + rw.core.mano-rwcal-mock-1.0 \ + rw.core.mano-rwmano_examples-1.0 \ + rw.core.mano-rwcal-cloudsimproxy-1.0 \ + rw.core.mano-models-1.0 \ + rw.core.mano-rwcal-aws-1.0 fi if $installUI; then sudo apt-get install -y \ - rw.ui-about=${PLATFORM_VERSION} \ - rw.ui-logging=${PLATFORM_VERSION} \ - rw.ui-skyquake=${PLATFORM_VERSION} \ - rw.ui-accounts=${PLATFORM_VERSION} \ - rw.ui-composer=${PLATFORM_VERSION} \ - rw.ui-launchpad=${PLATFORM_VERSION} \ - rw.ui-debug=${PLATFORM_VERSION} \ - rw.ui-config=${PLATFORM_VERSION} \ - rw.ui-dummy_component=${PLATFORM_VERSION} + rw.ui-about \ + rw.ui-logging \ + rw.ui-skyquake \ + rw.ui-accounts \ + rw.ui-composer \ + rw.ui-launchpad \ + rw.ui-debug \ + rw.ui-config \ + rw.ui-dummy_component fi elif [[ $PLATFORM == fc20 ]]; then @@ -277,12 +305,6 @@ else exit 1 fi -# install some base files used to create VNFs -test -d /usr/rift/images || mkdir /usr/rift/images -for file in Fedora-x86_64-20-20131211.1-sda-ping.qcow2 Fedora-x86_64-20-20131211.1-sda-pong.qcow2 Fedora-x86_64-20-20131211.1-sda.qcow2; do - test -f /usr/rift/images/$file || curl -o /usr/rift/images/$file http://repo.riftio.com/releases/open.riftio.com/4.3.1/$file -done - # If you are re-building SO, you just need to run # these two steps if ! $installSO; then