mirror of
https://github.com/opennetworkinglab/onos.git
synced 2025-10-18 02:41:49 +02:00
Builds and OVA from scratch with the most updated tools in one command. The build process is based on Vagrant. Change-Id: I633d99092946f99e877f0c97631a4f99c5b1f37e
17 lines
338 B
Bash
Executable File
17 lines
338 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
set -xe
|
|
|
|
# Delete vagrant user
|
|
sudo userdel -r -f vagrant
|
|
|
|
# Free space on disk
|
|
cd ~/p4tools/protobuf && make clean
|
|
cd ~/p4tools/grpc && make clean
|
|
cd ~/p4tools/bmv2 && make clean
|
|
cd ~/p4tools/bmv2/targets && make clean
|
|
cd ~/p4tools/p4runtime && make clean
|
|
rm -rf ~/p4tools/p4c/build
|
|
|
|
cat /dev/null > ~/.bash_history
|