From: Jeremy Mordkoff Date: Tue, 17 Oct 2017 23:25:28 +0000 (-0400) Subject: BUG 385 updates to SO source build X-Git-Tag: v3.0.0rc14~8 X-Git-Url: https://osm.etsi.org/gitweb/?p=osm%2FSO.git;a=commitdiff_plain;h=c30b19853a5438ca313c46ef490743ce6fd6d04b BUG 385 updates to SO source build Signed-off-by: Jeremy Mordkoff --- diff --git a/BUILD.sh b/BUILD.sh index df17d810..b8383750 100755 --- a/BUILD.sh +++ b/BUILD.sh @@ -106,10 +106,18 @@ 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 sudo make install + sudo -H dhclient & fi