mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2024-12-02 10:24:11 +01:00
20 lines
648 B
Bash
20 lines
648 B
Bash
#!/usr/bin/env bash
|
|
|
|
apt-get update
|
|
apt-get -y upgrade
|
|
|
|
# get ourselves some basic toys
|
|
apt-get -y install git-core build-essential openssl libssl-dev subversion
|
|
|
|
# install some tools for the vagrant user only by executing
|
|
# a script AS the vagrant user
|
|
cp /vagrant/install-tools.sh /home/vagrant
|
|
chown vagrant /home/vagrant/install-tools.sh
|
|
chgrp vagrant /home/vagrant/install-tools.sh
|
|
chmod ug+x /home/vagrant/install-tools.sh
|
|
su -c "/home/vagrant/install-tools.sh" vagrant
|
|
|
|
# set up udev rules for known android device manufacturers
|
|
cat /vagrant/51-android.rules > /etc/udev/rules.d/51-android.rules
|
|
chmod a+r /etc/udev/rules.d/51-android.rules
|