Add vagrant bootstrap script

This commit is contained in:
Corey Vixie 2020-03-29 12:18:28 -07:00
parent f3d12e7cc2
commit 4ae992c985

8
bootstrap.sh Normal file
View File

@ -0,0 +1,8 @@
#!/usr/bin/env bash
export DEBIAN_FRONTEND=noninteractive
sudo apt-get -yq install curl gcc vim git device-tree-compiler g++-arm-linux-gnueabihf
echo 'curl https://sh.rustup.rs -sSf | sh -s -- -y;' | su vagrant
cd /vagrant/st7701s
/home/vagrant/.cargo/bin/rustup target add armv7-unknown-linux-gnueabihf