blob: cb03c678909bf7d3e620a7347f0519743d4f0684 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
|
#!/bin/bash
# This script contains the configurations required specific to the
# Precise node, which is mainly used by precise hwpack/image and
# kernel builds on ci.linaro.org
set -xe
. `dirname $0`/setup_lib
echo 'Acquire::http::Proxy "http://ci.linaro.org:3128";' > /etc/apt/apt.conf.d/ci_linaro_org_http_proxy
apt-get-retry --non-fatal update
apt-get-retry install -y python-software-properties
add-apt-repository 'deb http://ppa.launchpad.net/linaro-maintainers/tools/ubuntu precise main'
add-apt-repository 'deb http://ppa.launchpad.net/jcrigby/quantal-backport/ubuntu precise main'
apt-get-retry --non-fatal update
export DEBIAN_FRONTEND=noninteractive
# Install packages
# ia32-libs is required to be able to run 32 bit gcc4.7 on 64 bit OS
apt-get-retry install -y \
acpica-tools \
autoconf \
autogen \
automake \
bison \
build-essential \
ccache \
chrpath \
cvs \
debhelper \
debootstrap \
default-jre \
dejagnu \
desktop-file-utils \
device-tree-compiler \
devscripts \
diffstat \
dpkg \
eatmydata \
flex \
gawk \
g++-multilib \
gcc-arm-linux-gnueabihf \
gcc-mingw-w64-i686 \
git \
ia32-libs \
kernel-wedge \
lava-dashboard-tool \
lava-scheduler-tool \
libgl1-mesa-dev \
libglu1-mesa-dev \
libsdl1.2-dev \
libtool \
linaro-image-tools \
lynx \
lzop \
python-beautifulsoup \
python-html2text \
python-support \
python-virtualenv \
python-xdg \
qemu-user-static \
quilt \
realpath \
sbuild \
schroot \
subversion \
texi2html \
texinfo \
uboot-mkimage \
unzip \
uuid-dev \
zsync
# Add an sbuild user (ubuntu)
sbuild-adduser ubuntu
live_build_install
qemu_linaro_install
lit_install
ca_certificates_install
cross_chroot_install
# Set up a local mirror for Linaro Ubuntu baseline builds
apt-get-retry install -y lighttpd
echo 'server.bind = "localhost"' >> /etc/lighttpd/lighttpd.conf
lighty-enable-mod userdir
service lighttpd force-reload
mkdir ${HOME}/public_html
#wget --mirror \
# --no-parent \
# --no-host-directories \
# --cut-dirs=1 \
# --directory-prefix=${HOME}/public_html \
# --reject "index.html*" \
# http://ci.linaro.org/~ubuntu/
git_config
cp -a /usr/share/doc/git/contrib/workdir/git-new-workdir /usr/bin/git-new-workdir
chmod 0755 /usr/bin/git-new-workdir
if test -e /tmp/fifo3; then
echo "end init" > /tmp/fifo3
fi
fifo_cleanup
|