disable release repo -- can cause problems
authorJeremy Mordkoff <Jeremy.Mordkoff@riftio.com>
Fri, 23 Dec 2016 19:45:27 +0000 (14:45 -0500)
committerJeremy Mordkoff <Jeremy.Mordkoff@riftio.com>
Fri, 23 Dec 2016 19:45:27 +0000 (14:45 -0500)
Signed-off-by: Jeremy Mordkoff <Jeremy.Mordkoff@riftio.com>
BUILD.sh

index 2d5b053..c732207 100755 (executable)
--- a/BUILD.sh
+++ b/BUILD.sh
@@ -147,6 +147,9 @@ test -h /usr/rift && sudo rm -f /usr/rift
 if [[ $PLATFORM == ub16 ]]; then
     # enable the right repos
     curl http://repos.riftio.com/public/xenial-riftware-public-key | sudo apt-key add -
+    # the old mkcontainer always enabled release which can be bad
+    # so remove it
+    sudo rm -f /etc/apt/sources.list.d/release
     sudo curl -o /etc/apt/sources.list.d/${PLATFORM_REPOSITORY}.list http://buildtracker.riftio.com/repo_file/ub16/${PLATFORM_REPOSITORY}/ 
     sudo apt-get update