Skip to content
Snippets Groups Projects
Commit 0a196530 authored by Piotr Maślanka's avatar Piotr Maślanka
Browse files

okej

parent 82d070c2
No related branches found
No related tags found
No related merge requests found
Pipeline #1306 passed with stages
in 19 minutes and 19 seconds
Vagrant.configure("2") do |config| Vagrant.configure("2") do |config|
config.vm.box = "hashicorp/precise32" config.vm.box = "ubuntu/trusty32"
config.vm.provision "shell", inline: <<-SHELL config.vm.provision "shell", inline: <<-SHELL
......
...@@ -12,20 +12,26 @@ apt-get install -y python-software-properties ...@@ -12,20 +12,26 @@ apt-get install -y python-software-properties
# Repositories # Repositories
## Mono ## Mono
apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF
echo "deb http://download.mono-project.com/repo/ubuntu precise main" | sudo tee /etc/apt/sources.list.d/mono-xamarin.list echo "deb http://download.mono-project.com/repo/ubuntu trusty main" | sudo tee /etc/apt/sources.list.d/mono-xamarin.list
apt-get update apt-get update
# Install fontconfig, wait for processing # Install fontconfig, wait for processing
apt-get install -y fontconfig xorg dbus-x11 xvfb x-ttcidfont-conf unzip apt-get install -y fontconfig xorg dbus-x11 xvfb unzip
while [ ! -f /etc/fonts/fonts.conf ] ; while [ ! -f /etc/fonts/fonts.conf ] ;
do do
sleep 1 sleep 1
done done
#safe
# x-ttcidfont-conf
# Accept EULA
echo ttf-mscorefonts-installer msttcorefonts/accepted-mscorefonts-eula select true | sudo debconf-set-selections
# Install WINE things # Install WINE things
apt-get install -y wine winetricks apt-get install -y wine winetricks
# Install command # Install command
cp -f /vagrant/tibbo_build.sh /usr/sbin/tibbo_build cp -f /vagrant/tibbo_build.sh /usr/sbin/tibbo_build
chmod ugo+rx /usr/sbin/tibbo_build chmod ugo+rx /usr/sbin/tibbo_build
......
...@@ -10,7 +10,7 @@ export FONTCONFIG_PATH="/etc/fonts" ...@@ -10,7 +10,7 @@ export FONTCONFIG_PATH="/etc/fonts"
cd /home/vagrant cd /home/vagrant
# Set up framebuffer # Set up framebuffer
sudo Xvfb :0 -screen 0 1024x768x16 & Xvfb :0 -screen 0 1024x768x16 &
# Prepare WINE folder hierarchy # Prepare WINE folder hierarchy
wine start.exe wine start.exe
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment