blob: e6cdd36ce280572ba8e642bb50692214fedee7b9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
#! /bin/bash
# This script creates and acquires a fifo.
# This needs to be called in the slave init script
# before calling any of the setup-*-node scripts
set -x
if ! test -e /tmp/fifo2; then
mkfifo /tmp/fifo2 || true
fi
if ! test -e /tmp/fifo3; then
mkfifo /tmp/fifo3 || true
fi
echo 'Acquire::http::Proxy "http://ci.linaro.org:3128";' > /etc/apt/apt.conf.d/ci_linaro_org_http_proxy
echo "acquiring fifo lock"
echo "start init" > /tmp/fifo2
|