provision_xenial64.sh
changeset 22 07ad3ba42d39
child 31 d265395c11ad
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/provision_xenial64.sh	Tue Dec 05 00:08:10 2017 +0100
@@ -0,0 +1,36 @@
+#!/usr/bin/env bash
+
+# This script is to be executed as root to provision necessary stuff
+# to run distribution build on a blank Ubuntu Xenial 64 image
+
+set -xe
+dpkg --add-architecture i386
+apt-get update
+
+apt-get install -y --no-install-recommends \
+     autoconf        \
+     automake        \
+     bison           \
+     build-essential \
+     ca-certificates \
+     flex            \
+     gettext         \
+     git             \
+     lzma            \
+     make            \
+     mercurial       \
+     mingw-w64       \
+     nsis            \
+     texinfo         \
+     unrar           \
+     wget            \
+     xvfb            \
+     unzip
+
+     echo ttf-mscorefonts-installer msttcorefonts/accepted-mscorefonts-eula select true | debconf-set-selections
+     echo ttf-mscorefonts-installer msttcorefonts/present-mscorefonts-eula note | debconf-set-selections
+
+apt-get install -y --install-recommends \
+     wine
+
+apt-get clean -y