X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=BUILD.sh;h=a9c01952b8928112457fcae01eca7c736b2decba;hb=refs%2Fchanges%2F35%2F1535%2F1;hp=ad7790352fd2898bfaeced155916cc0d65d628a1;hpb=620d1e79488947802bef39a4eca545737744e883;p=osm%2FSO.git diff --git a/BUILD.sh b/BUILD.sh index ad779035..a9c01952 100755 --- a/BUILD.sh +++ b/BUILD.sh @@ -114,10 +114,10 @@ fi if [[ $PLATFORM == ub16 ]]; then PLATFORM_REPOSITORY=${1:-OSM} - PLATFORM_VERSION=${2:-4.4.0.0.57702} + PLATFORM_VERSION=${2:-4.99.1.1.58887} 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.99.1.1.58887} else echo "Internal error: unknown platform $PLATFORM" exit 1 @@ -130,11 +130,11 @@ fi DAILY_TIMER='apt-daily.timer' DAILY_SERVICE='apt-daily.service' -if [ $(systemctl is-active $DAILY_TIMER) = "active" ] +if [ $(sudo systemctl is-active $DAILY_TIMER) = "active" ] then - systemctl stop $DAILY_TIMER - systemctl disable $DAILY_TIMER - systemctl disable $DAILY_SERVICE + sudo systemctl stop $DAILY_TIMER + sudo systemctl disable $DAILY_TIMER + sudo systemctl disable $DAILY_SERVICE fi # must be run from the top of a workspace @@ -175,7 +175,7 @@ fi if $runMkcontainer; then sudo apt-get install -y libxml2-dev libxslt-dev sudo /usr/rift/container_tools/mkcontainer --modes build --modes ext --repo ${PLATFORM_REPOSITORY} - sudo pip3 install lxml==3.4.0 + sudo -H pip3 install lxml==3.4.0 fi @@ -189,7 +189,7 @@ if [[ $PLATFORM == ub16 ]]; then # this package is obsolete. OLD_PACKAGES="rw.core.rwvx-rwha-1.0" for package in $PACKAGES $OLD_PACKAGES; do - apt remove -y $package || true + sudo apt remove -y $package || true done packages="" @@ -210,6 +210,8 @@ if [[ $PLATFORM == ub16 ]]; then 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 \