X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=BUILD.sh;h=c9192060d4d2034c41b45bcadd5a61e3301fca2d;hb=refs%2Fchanges%2F19%2F819%2F1;hp=daee105142a3deb2f0c48ea3afc53afd5b4e7ac5;hpb=60f129efe33898dab58f0c51ae5a790176d6d919;p=osm%2FSO.git diff --git a/BUILD.sh b/BUILD.sh index daee1051..c9192060 100755 --- a/BUILD.sh +++ b/BUILD.sh @@ -126,6 +126,17 @@ fi ############################################################################### # Main block +# Disable apt-daily.service and apt-daily.timer + +DAILY_TIMER='apt-daily.timer' +DAILY_SERVICE='apt-daily.service' +if [ $(systemctl is-active $DAILY_TIMER) = "active" ] +then + systemctl stop $DAILY_TIMER + systemctl disable $DAILY_TIMER + systemctl disable $DAILY_SERVICE +fi + # must be run from the top of a workspace cd $(dirname $0) @@ -158,8 +169,8 @@ fi # and install of the packages required to build and run # this module if $runMkcontainer; then - sudo /usr/rift/container_tools/mkcontainer --modes build --modes ext --repo ${PLATFORM_REPOSITORY} sudo apt-get install -y libxml2-dev libxslt-dev + sudo /usr/rift/container_tools/mkcontainer --modes build --modes ext --repo ${PLATFORM_REPOSITORY} fi