From fdee159e0756528d6873cfe1526769975cad5c00 Mon Sep 17 00:00:00 2001 From: Christian Benien Date: Fri, 27 Jul 2018 17:25:38 +0200 Subject: Imported initial content from https://github.com/Nuance-Mobility/agl-speech-interface Change-Id: I4c9fc3b9e8b3ea3b97bcbc4d8f099edd71b94b91 Signed-off-by: Christian Benien --- Vagrantfile | 50 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) create mode 100644 Vagrantfile (limited to 'Vagrantfile') diff --git a/Vagrantfile b/Vagrantfile new file mode 100644 index 0000000..1642c49 --- /dev/null +++ b/Vagrantfile @@ -0,0 +1,50 @@ +# -*- mode: ruby -*- +# vi: set ft=ruby : + +Vagrant.configure("2") do |config| + config.vm.box = "ubuntu/xenial64" + + config.vm.provider "virtualbox" do |vb| + vb.memory = "2048" + end + + config.vm.network "forwarded_port", guest: 1235, host: 1235 + + config.vm.provision "shell", inline: <<-SHELL + + export DISTRO="xUbuntu_16.04" + export BRANCH="AGL_ElectricEel" + wget -O - http://download.opensuse.org/repositories/isv:/LinuxAutomotive:/${BRANCH}/${DISTRO}/Release.key | sudo apt-key add - + echo "deb http://download.opensuse.org/repositories/isv:/LinuxAutomotive:/${BRANCH}/${DISTRO}/ ./" >> /etc/apt/sources.list.d/AGL.list + + + apt-get update + apt-get install -y \ + build-essential \ + git \ + curl \ + wget \ + cmake \ + pkg-config \ + libjson-c-dev \ + libsystemd-dev \ + agl-xds-agent \ + agl-app-framework-binder-bin \ + agl-app-framework-binder-dev + + apt-get -y dist-upgrade + + # Source the profile script in bashrc so that it is also available + # for non-login shells + echo ". /etc/profile.d/AGL_app-framework-binder.sh" >> /etc/bash.bashrc + + mkdir -p $HOME/tmp + cd $HOME/tmp + wget https://ftp.gnu.org/gnu/libmicrohttpd/libmicrohttpd-0.9.55.tar.gz + tar xzf libmicrohttpd-0.9.55.tar.gz + cd libmicrohttpd-0.9.55 + ./configure && make && sudo make install + cd .. + chmod +x /vagrant/conf.d/autobuild/linux/autobuild + SHELL +end -- cgit 1.2.3-korg