#! /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