extpython/scripts/bootstrap.sh

18 lines
390 B
Bash
Executable File

#!/bin/bash -eux
# get metadata
ln -s /src/$VARSFILE /tmp/vars.sh
. /tmp/vars.sh
# install deps
apt-get update
DEBIAN_FRONTEND=noninteractive apt-get install -y -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold" $CPYTHON_DEPS
# run the build
sudo -Hu builder /build.sh
# export the debs
OUTDIR="/src/out/$PYTHON_RELEASE/"
mkdir -p $OUTDIR
cp /build/out/* $OUTDIR