From c30b19853a5438ca313c46ef490743ce6fd6d04b Mon Sep 17 00:00:00 2001 From: Jeremy Mordkoff Date: Tue, 17 Oct 2017 19:25:28 -0400 Subject: [PATCH] BUG 385 updates to SO source build Signed-off-by: Jeremy Mordkoff --- BUILD.sh | 8 ++++++++ 1 file changed, 8 insertions(+) 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 -- 2.25.1