2014-08-15 09:59:26 -04:00
|
|
|
#!/usr/bin/env bash
|
|
|
|
|
|
|
|
|
|
# Update the apt-get repository list
|
2014-09-21 18:45:59 -04:00
|
|
|
apt --yes --force-yes install software-properties-common
|
|
|
|
|
apt-add-repository --yes ppa:byteit101/frc-toolchain
|
2014-08-15 09:59:26 -04:00
|
|
|
apt-get update
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Download and install Java
|
2014-09-21 18:45:59 -04:00
|
|
|
apt-get --yes --force-yes install default-jre default-jdk maven python-pip python-setuptools g++-arm-frc-linux-gnueabi sshpass libc6-i386
|
2014-08-15 09:59:26 -04:00
|
|
|
|
|
|
|
|
easy_install pip
|
|
|
|
|
yes | pip install git-review
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Install the jdk-linux-arm-vfp-sflt
|
|
|
|
|
# Create the target directory for the jdk
|
|
|
|
|
mkdir -p /home/vagrant/jdk-linux-arm-vfp-sflt/
|
|
|
|
|
# Unzip the jdk into this new directory
|
|
|
|
|
tar -xzf /vagrant/jdk-7u45-linux-arm-vfp-sflt.gz -C /home/vagrant/jdk-linux-arm-vfp-sflt/
|
|
|
|
|
|
2014-08-26 12:51:15 -04:00
|
|
|
|
2014-08-15 09:59:26 -04:00
|
|
|
# Keep this at the end of this file
|
|
|
|
|
printf "\n\n"
|
|
|
|
|
printf "Your virtual enviroment is now nearly set-up.\n"
|
|
|
|
|
printf "You can access your enviroment using 'vagrant ssh'.\n"
|
|
|
|
|
printf "Please run 'cd /vagrant' to navigate to the repository.\n"
|
|
|
|
|
printf "Once you have navigated there please run 'git review -s' to complete the setup of git review.\n"
|