aboutsummaryrefslogtreecommitdiff
path: root/Builder1
blob: 96ac1f16a3a042e8e6c0d176ae8fc55b449aae35 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#!/bin/sh -

set -ex

sed -i '/mount -t proc /d; /mount -t sysfs /d' /debootstrap/functions
/debootstrap/debootstrap --second-stage

ln -sf /bin/bash /bin/sh

apt-get update

apt-get install -y \
    libglib2.0-0 \
    libxrandr2 \
    python-xvfbwrapper \
    ratpoison \
    sudo

/cryptech-builder/ratinox ise-install

rm -rf /Xilinx_ISE_DS_Lin_14.7_1015_1

adduser --disabled-password --gecos 'Cryptech Build Bot' --shell /bin/sh builder
echo >/etc/sudoers.d/builder 'builder ALL = (ALL) NOPASSWD: SETENV: ALL'