edouard@22: #!/usr/bin/env bash edouard@22: edouard@22: # This script is to be executed as root to provision necessary stuff edouard@22: # to run distribution build on a blank Ubuntu Xenial 64 image edouard@22: edouard@22: set -xe edouard@22: dpkg --add-architecture i386 edouard@22: apt-get update edouard@22: edouard@22: apt-get install -y --no-install-recommends \ edouard@22: autoconf \ edouard@22: automake \ edouard@22: bison \ edouard@22: build-essential \ edouard@22: ca-certificates \ edouard@22: flex \ edouard@22: gettext \ edouard@22: git \ edouard@22: lzma \ edouard@22: make \ edouard@22: mercurial \ edouard@22: mingw-w64 \ edouard@22: nsis \ edouard@31: swig \ edouard@22: texinfo \ edouard@22: unrar \ edouard@31: unzip \ edouard@22: wget \ edouard@31: xvfb edouard@22: edouard@22: echo ttf-mscorefonts-installer msttcorefonts/accepted-mscorefonts-eula select true | debconf-set-selections edouard@22: echo ttf-mscorefonts-installer msttcorefonts/present-mscorefonts-eula note | debconf-set-selections edouard@22: edouard@22: apt-get install -y --install-recommends \ edouard@22: wine edouard@22: edouard@22: apt-get clean -y