Browse Source

Make it runable for other users

master
Egon Rijpkema 5 years ago
parent
commit
77d4c4a5d1
  1. 12
      JuniperControllerBuild
  2. 5
      README.md

12
JuniperControllerBuild

@ -24,12 +24,12 @@ if [[ -n ${DX} ]] @@ -24,12 +24,12 @@ if [[ -n ${DX} ]]
fi
#
date > /home/rein/JuniperControllerBuild.run.time
date > $HOME/JuniperControllerBuild.run.time
rm -Rf .repo
rm -Rf ~/.repo*
cd /home/rein
cd $HOME
echo 'debconf debconf/frontend select Noninteractive' | sudo debconf-set-selections
sudo apt-get update
sudo apt-get -y install pkgconf
@ -281,8 +281,8 @@ sudo cp /media/sf_VM-sfolder/build/mpackages.xml . @@ -281,8 +281,8 @@ sudo cp /media/sf_VM-sfolder/build/mpackages.xml .
sudo chown rein:rein mpackages.xml
python fetch_packages.py --file mpackages.xml
export GOROOT=/home/rein/src/Juniper/third_party/go
export GOPATH=/home/rein/go
export GOROOT=$HOME/src/Juniper/third_party/go
export GOPATH=$HOME/go
export GO=${GOROOT}/bin/go
mkdir -p ${GOPATH}/src/github.com/containernetworking
cd ${GOPATH}/src/github.com/containernetworking
@ -321,9 +321,9 @@ sudo -H pip install generateDS --upgrade @@ -321,9 +321,9 @@ sudo -H pip install generateDS --upgrade
echo "doScons" > ~/next
date >> /home/rein/JuniperControllerBuild.run.time
date >> $HOME/JuniperControllerBuild.run.time
sudo reboot
date >> /home/rein/JuniperControllerBuild.run.time
date >> $HOME/JuniperControllerBuild.run.time

5
README.md

@ -0,0 +1,5 @@ @@ -0,0 +1,5 @@
# opencontrail builder
Build scripts to build openstack components.
## This repository might evolve in a docker recipy
Loading…
Cancel
Save