X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=BUILD.sh;h=7ccdebad17c0a69d73fa7ba25aa99828fd6403a0;hb=fd2529255d1dfabb1ad5f2e0491de7951911fa67;hp=df17d8107317f04187570a34193e75f0a228b0d9;hpb=614b61bca8b7c5c34598526c5f9c11ead5f48715;p=osm%2FSO.git diff --git a/BUILD.sh b/BUILD.sh index df17d810..7ccdebad 100755 --- a/BUILD.sh +++ b/BUILD.sh @@ -80,7 +80,7 @@ set -x # Print commands before executing them # Set up repo and version PLATFORM_REPOSITORY=${1:-OSM3} -PLATFORM_VERSION=${2:-5.2.0.1.71454} +PLATFORM_VERSION=${2:-5.2.0.2.72254} ############################################################################### # Main block @@ -106,6 +106,13 @@ 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 pip3 install --upgrade pip + sudo -H pip3 install setuptools + sudo -H pip3 install juju + sudo mkdir -p /usr/rift/etc/default + sudo chmod 777 /usr/rift/etc/default + echo LAUNCHPAD_OPTIONS="--use-xml-mode" >> /usr/rift/etc/default/launchpad + sudo systemctl daemon-reload # Build and install module make -j16