update credits
[librepilot.git] / make / vagrant / vagrant_openpilot_dev / bootstrap.sh
blobb6ed00058187a6752b11653db9f39008d7b0986a
1 #!/usr/bin/env bash
3 sudo apt-get update
4 sudo apt-get --yes --force-yes upgrade
6 # get ourselves some basic toys
7 sudo apt-get --yes --force-yes install git-core build-essential openssl libssl-dev
9 # install some tools for the vagrant user only by executing
10 # a script AS the vagrant user
11 cp /vagrant/install-tools.sh /home/vagrant
12 chown vagrant /home/vagrant/install-tools.sh
13 chgrp vagrant /home/vagrant/install-tools.sh
14 chmod ug+x /home/vagrant/install-tools.sh
15 su -c "/home/vagrant/install-tools.sh" vagrant