provision_xenial64.sh
changeset 22 07ad3ba42d39
child 31 d265395c11ad
equal deleted inserted replaced
21:5c0a6affeafa 22:07ad3ba42d39
       
     1 #!/usr/bin/env bash
       
     2 
       
     3 # This script is to be executed as root to provision necessary stuff
       
     4 # to run distribution build on a blank Ubuntu Xenial 64 image
       
     5 
       
     6 set -xe
       
     7 dpkg --add-architecture i386
       
     8 apt-get update
       
     9 
       
    10 apt-get install -y --no-install-recommends \
       
    11      autoconf        \
       
    12      automake        \
       
    13      bison           \
       
    14      build-essential \
       
    15      ca-certificates \
       
    16      flex            \
       
    17      gettext         \
       
    18      git             \
       
    19      lzma            \
       
    20      make            \
       
    21      mercurial       \
       
    22      mingw-w64       \
       
    23      nsis            \
       
    24      texinfo         \
       
    25      unrar           \
       
    26      wget            \
       
    27      xvfb            \
       
    28      unzip
       
    29 
       
    30      echo ttf-mscorefonts-installer msttcorefonts/accepted-mscorefonts-eula select true | debconf-set-selections
       
    31      echo ttf-mscorefonts-installer msttcorefonts/present-mscorefonts-eula note | debconf-set-selections
       
    32 
       
    33 apt-get install -y --install-recommends \
       
    34      wine
       
    35 
       
    36 apt-get clean -y