if [[ $PLATFORM == ub16 ]]; then
PLATFORM_REPOSITORY=${1:-OSM}
- PLATFORM_VERSION=${2:-4.3.1.0.53704}
+ 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
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
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
# 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"
- for package in $PACKAGES; do
- apt remove -y $package || true
+ rw.core.rwvx-rwvx rw.core.rwvx-rwdts rw.automation.core-RWAUTO"
+ # this package is obsolete.
+ OLD_PACKAGES="rw.core.rwvx-rwha-1.0"
+ for package in $PACKAGES $OLD_PACKAGES; do
+ sudo apt remove -y $package || true
done
packages=""
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 \