author | Edouard Tisserant <edouard.tisserant@gmail.com> |
Mon, 23 Oct 2023 10:40:39 +0200 | |
changeset 126 | a7809f76f626 |
parent 120 | 02e37d9e96a9 |
permissions | -rwxr-xr-x |
120
02e37d9e96a9
Windows Installer : Python3 + 64bit
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1 |
#!/usr/bin/env bash |
02e37d9e96a9
Windows Installer : Python3 + 64bit
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2 |
|
02e37d9e96a9
Windows Installer : Python3 + 64bit
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
3 |
# This script is to be executed as root to provision necessary stuff |
02e37d9e96a9
Windows Installer : Python3 + 64bit
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
4 |
# to run distribution build on a blank Ubuntu Focal 64 image |
02e37d9e96a9
Windows Installer : Python3 + 64bit
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
5 |
|
02e37d9e96a9
Windows Installer : Python3 + 64bit
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
6 |
set -xe |
02e37d9e96a9
Windows Installer : Python3 + 64bit
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
7 |
dpkg --add-architecture i386 |
02e37d9e96a9
Windows Installer : Python3 + 64bit
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
8 |
|
02e37d9e96a9
Windows Installer : Python3 + 64bit
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
9 |
apt-get update |
02e37d9e96a9
Windows Installer : Python3 + 64bit
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
10 |
|
02e37d9e96a9
Windows Installer : Python3 + 64bit
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
11 |
apt-get install -y locales |
02e37d9e96a9
Windows Installer : Python3 + 64bit
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
12 |
|
02e37d9e96a9
Windows Installer : Python3 + 64bit
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
13 |
locale-gen en_US.UTF-8 |
02e37d9e96a9
Windows Installer : Python3 + 64bit
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
14 |
|
02e37d9e96a9
Windows Installer : Python3 + 64bit
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
15 |
TZ="America/Paris" \ |
02e37d9e96a9
Windows Installer : Python3 + 64bit
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
16 |
DEBIAN_FRONTEND="noninteractive" \ |
02e37d9e96a9
Windows Installer : Python3 + 64bit
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
17 |
apt-get install -y --no-install-recommends \ |
02e37d9e96a9
Windows Installer : Python3 + 64bit
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
18 |
automake \ |
02e37d9e96a9
Windows Installer : Python3 + 64bit
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
19 |
bc \ |
02e37d9e96a9
Windows Installer : Python3 + 64bit
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
20 |
bison \ |
02e37d9e96a9
Windows Installer : Python3 + 64bit
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
21 |
build-essential \ |
02e37d9e96a9
Windows Installer : Python3 + 64bit
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
22 |
ca-certificates \ |
02e37d9e96a9
Windows Installer : Python3 + 64bit
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
23 |
cpio \ |
02e37d9e96a9
Windows Installer : Python3 + 64bit
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
24 |
cmake \ |
02e37d9e96a9
Windows Installer : Python3 + 64bit
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
25 |
fakeroot \ |
02e37d9e96a9
Windows Installer : Python3 + 64bit
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
26 |
flex \ |
02e37d9e96a9
Windows Installer : Python3 + 64bit
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
27 |
gettext \ |
02e37d9e96a9
Windows Installer : Python3 + 64bit
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
28 |
gawk \ |
02e37d9e96a9
Windows Installer : Python3 + 64bit
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
29 |
git \ |
02e37d9e96a9
Windows Installer : Python3 + 64bit
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
30 |
gperf \ |
02e37d9e96a9
Windows Installer : Python3 + 64bit
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
31 |
g++-multilib \ |
02e37d9e96a9
Windows Installer : Python3 + 64bit
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
32 |
help2man \ |
02e37d9e96a9
Windows Installer : Python3 + 64bit
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
33 |
less \ |
02e37d9e96a9
Windows Installer : Python3 + 64bit
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
34 |
libarchive-dev \ |
02e37d9e96a9
Windows Installer : Python3 + 64bit
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
35 |
libcurl4-openssl-dev \ |
02e37d9e96a9
Windows Installer : Python3 + 64bit
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
36 |
libssl-dev \ |
02e37d9e96a9
Windows Installer : Python3 + 64bit
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
37 |
libtool-bin \ |
02e37d9e96a9
Windows Installer : Python3 + 64bit
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
38 |
lzma \ |
02e37d9e96a9
Windows Installer : Python3 + 64bit
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
39 |
mercurial \ |
02e37d9e96a9
Windows Installer : Python3 + 64bit
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
40 |
meson \ |
02e37d9e96a9
Windows Installer : Python3 + 64bit
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
41 |
mingw-w64 \ |
02e37d9e96a9
Windows Installer : Python3 + 64bit
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
42 |
ncurses-dev \ |
02e37d9e96a9
Windows Installer : Python3 + 64bit
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
43 |
nsis \ |
02e37d9e96a9
Windows Installer : Python3 + 64bit
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
44 |
rsync \ |
02e37d9e96a9
Windows Installer : Python3 + 64bit
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
45 |
pkg-config \ |
02e37d9e96a9
Windows Installer : Python3 + 64bit
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
46 |
python3-pip \ |
02e37d9e96a9
Windows Installer : Python3 + 64bit
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
47 |
subversion \ |
02e37d9e96a9
Windows Installer : Python3 + 64bit
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
48 |
swig \ |
02e37d9e96a9
Windows Installer : Python3 + 64bit
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
49 |
texinfo \ |
02e37d9e96a9
Windows Installer : Python3 + 64bit
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
50 |
unrar \ |
02e37d9e96a9
Windows Installer : Python3 + 64bit
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
51 |
unzip \ |
02e37d9e96a9
Windows Installer : Python3 + 64bit
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
52 |
wget \ |
02e37d9e96a9
Windows Installer : Python3 + 64bit
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
53 |
xvfb \ |
02e37d9e96a9
Windows Installer : Python3 + 64bit
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
54 |
zip |
02e37d9e96a9
Windows Installer : Python3 + 64bit
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
55 |
|
02e37d9e96a9
Windows Installer : Python3 + 64bit
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
56 |
echo ttf-mscorefonts-installer msttcorefonts/accepted-mscorefonts-eula select true | debconf-set-selections |
02e37d9e96a9
Windows Installer : Python3 + 64bit
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
57 |
echo ttf-mscorefonts-installer msttcorefonts/present-mscorefonts-eula note | debconf-set-selections |
02e37d9e96a9
Windows Installer : Python3 + 64bit
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
58 |
|
02e37d9e96a9
Windows Installer : Python3 + 64bit
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
59 |
apt-get install -y --install-recommends \ |
02e37d9e96a9
Windows Installer : Python3 + 64bit
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
60 |
wine-stable winbind |
02e37d9e96a9
Windows Installer : Python3 + 64bit
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
61 |
|
02e37d9e96a9
Windows Installer : Python3 + 64bit
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
62 |
apt-get clean -y |