equal
deleted
inserted
replaced
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 Focal 64 image |
|
5 |
|
6 set -xe |
|
7 dpkg --add-architecture i386 |
|
8 |
|
9 apt-get update |
|
10 |
|
11 apt-get install -y locales |
|
12 |
|
13 locale-gen en_US.UTF-8 |
|
14 |
|
15 TZ="America/Paris" \ |
|
16 DEBIAN_FRONTEND="noninteractive" \ |
|
17 apt-get install -y --no-install-recommends \ |
|
18 autoconf \ |
|
19 automake \ |
|
20 bc \ |
|
21 bison \ |
|
22 build-essential \ |
|
23 ca-certificates \ |
|
24 cpio \ |
|
25 cmake \ |
|
26 fakeroot \ |
|
27 file \ |
|
28 flex \ |
|
29 gettext \ |
|
30 gawk \ |
|
31 git \ |
|
32 gperf \ |
|
33 gcc-multilib \ |
|
34 g++-multilib \ |
|
35 help2man \ |
|
36 less \ |
|
37 libarchive-dev \ |
|
38 libcurl4-openssl-dev \ |
|
39 libssl-dev \ |
|
40 libtool \ |
|
41 libtool-bin \ |
|
42 lzma \ |
|
43 make \ |
|
44 mercurial \ |
|
45 meson \ |
|
46 mingw-w64 \ |
|
47 ncurses-dev \ |
|
48 nsis \ |
|
49 rsync \ |
|
50 pkg-config \ |
|
51 python \ |
|
52 python-dev \ |
|
53 python3-distutils \ |
|
54 subversion \ |
|
55 swig \ |
|
56 texinfo \ |
|
57 unrar \ |
|
58 unzip \ |
|
59 wget \ |
|
60 xvfb \ |
|
61 zip |
|
62 |
|
63 |
|
64 ## for winehq-staging |
|
65 # gnupg \ |
|
66 # libgpgme-dev \ |
|
67 # software-properties-common \ |
|
68 # wget -nc https://dl.winehq.org/wine-builds/winehq.key |
|
69 # apt-key add winehq.key |
|
70 # add-apt-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ focal main' |
|
71 # apt-get update |
|
72 |
|
73 echo ttf-mscorefonts-installer msttcorefonts/accepted-mscorefonts-eula select true | debconf-set-selections |
|
74 echo ttf-mscorefonts-installer msttcorefonts/present-mscorefonts-eula note | debconf-set-selections |
|
75 |
|
76 apt-get install -y --install-recommends \ |
|
77 wine-stable winbind |
|
78 |
|
79 apt-get clean -y |
|