BUG 385 updates to SO source build 96/5596/1
authorJeremy Mordkoff <Jeremy.Mordkoff@riftio.com>
Tue, 17 Oct 2017 23:25:28 +0000 (19:25 -0400)
committerJeremy Mordkoff <Jeremy.Mordkoff@riftio.com>
Tue, 17 Oct 2017 23:25:28 +0000 (19:25 -0400)
Signed-off-by: Jeremy Mordkoff <Jeremy.Mordkoff@riftio.com>
BUILD.sh

index df17d81..b838375 100755 (executable)
--- 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