Initial Vagrant fixes

This commit is contained in:
zador-blood-stained 2017-08-11 18:07:08 +03:00
parent bfe50ba1e7
commit 8bc17614fb
2 changed files with 5 additions and 15 deletions

18
Vagrantfile vendored
View File

@ -4,18 +4,8 @@
Vagrant.require_version ">= 1.5"
$provisioning_script = <<SCRIPT
dpkg --add-architecture i386
apt-get update && DEBIAN_FRONTEND=noninteractive apt-get -y dist-upgrade && \
DEBIAN_FRONTEND=noninteractive apt-get install -y git dialog lsb-release binutils wget ca-certificates device-tree-compiler \
pv bc lzop zip binfmt-support build-essential ccache debootstrap ntpdate gawk gcc-arm-linux-gnueabihf gcc-arm-linux-gnueabi \
qemu-user-static u-boot-tools uuid-dev zlib1g-dev unzip libusb-1.0-0-dev ntpdate parted pkg-config libncurses5-dev whiptail \
debian-keyring debian-archive-keyring f2fs-tools libfile-fcntllock-perl rsync libssl-dev nfs-kernel-server btrfs-tools \
gcc-aarch64-linux-gnu ncurses-term p7zip-full dos2unix dosfstools libc6-dev-armhf-cross libc6-dev-armel-cross libc6-dev-arm64-cross \
curl gcc-arm-none-eabi libnewlib-arm-none-eabi patchutils python liblz4-tool libpython2.7-dev linux-base swig libpython-dev \
systemd-container udev distcc libstdc++-arm-none-eabi-newlib gcc-4.9-arm-linux-gnueabihf gcc-4.9-aarch64-linux-gnu \
g++-4.9-arm-linux-gnueabihf g++-4.9-aarch64-linux-gnu g++-5-aarch64-linux-gnu g++-5-arm-linux-gnueabihf lib32stdc++6 \
libc6-i386 lib32ncurses5 lib32tinfo5 locales ncurses-base zlib1g:i386 aptly pixz
locale-gen en_US.UTF-8
# use remote git version instead of sharing a copy from host to preserve proper file permissions
# and prevent permission related issues for the temp directory
git clone https://github.com/armbian/build /home/ubuntu/armbian
ln -sf /vagrant/output /home/ubuntu/armbian/output
ln -sf /vagrant/userpatches /home/ubuntu/armbian/userpatches
@ -48,8 +38,8 @@ Vagrant.configure(2) do |config|
config.vm.provider "virtualbox" do |vb|
vb.name = "Armbian Builder"
# uncomment this to use the VirtualBox GUI
#vb.gui = true
# comment this to disable the VirtualBox GUI
vb.gui = true
# Tweak these to fit your needs.
#vb.memory = "8192"

View File

@ -16,7 +16,7 @@ display_alert "SSH config for the Vagrant box"
vagrant ssh-config
display-alert "Use 'vagrant halt' to stop the box"
display_alert "Use 'vagrant halt' to stop the box"
# don't need to proceed further on the host
exit 0