File tree 3 files changed +6
-3
lines changed
3 files changed +6
-3
lines changed Original file line number Diff line number Diff line change 4
4
VAGRANTFILE_API_VERSION = "2"
5
5
6
6
Vagrant . configure ( VAGRANTFILE_API_VERSION ) do |config |
7
- config . vm . box = "hashicorp/precise64 "
7
+ config . vm . box = "ubuntu/xenial64 "
8
8
config . ssh . forward_agent = TRUE
9
9
10
10
config . vm . provider "virtualbox" do |vb |
11
11
vb . memory = 4096
12
12
vb . cpus = 2
13
13
end
14
14
15
- config . vm . network "private_network" , ip : "192.168.50 .4"
15
+ config . vm . network "private_network" , ip : "192.168.56 .4"
16
16
config . vm . synced_folder "." , "/vagrant" , type : :nfs
17
17
18
18
config . vm . provision "shell" , path : "provision.sh"
Original file line number Diff line number Diff line change @@ -45,7 +45,10 @@ install_dependencies() {
45
45
sudo apt-get -y install wget git gnupg flex bison gperf build-essential zip curl subversion pkg-config libglib2.0-dev libgtk2.0-dev libxtst-dev libxss-dev libpci-dev libdbus-1-dev libgconf2-dev libgnome-keyring-dev libnss3-dev
46
46
# Download the latest script to install the android dependencies for ubuntu
47
47
curl https://chromium.googlesource.com/chromium/src/+/master/build/install-build-deps-android.sh? format=TEXT | base64 -d > install-build-deps-android.sh
48
+ curl https://chromium.googlesource.com/chromium/src/+/master/build/install-build-deps.sh? format=TEXT | base64 -d > install-build-deps.sh
48
49
# use bash (not dash which is default) to run the script
50
+ echo ttf-mscorefonts-installer msttcorefonts/accepted-mscorefonts-eula select true | sudo debconf-set-selections
51
+ sudo chmod +x install-build-deps.sh
49
52
sudo /bin/bash ./install-build-deps-android.sh
50
53
# delete the file we just downloaded... not needed anymore
51
54
# rm install-build-deps-android.sh
Original file line number Diff line number Diff line change @@ -5,4 +5,4 @@ source /vagrant/build.sh
5
5
6
6
install_dependencies
7
7
8
- echo " source /vagrant/build.sh" >> /home/vagrant /.bashrc
8
+ echo " source /vagrant/build.sh" >> /home/ubuntu /.bashrc
You can’t perform that action at this time.
0 commit comments