blob: 5180db6bd644287f03ea2f50f02f7db632f7f0a8 (
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
|
#! /usr/bin/env bash
set -e
dir=$(dirname $0)
. /bootstrap/func.bash
apt-get install -y sbuild schroot debootstrap
copy-home-dot-file sbuildrc
# setup apt-cacher-ng
apt-get install -y apt-cacher-ng
append-bash-profile auto-start-apt-cacher.bash
apt-cacher-ng
export SBUILD_MIRROR="http://127.0.0.1:3142/$(/bootstrap/apt-source/get-domain.bash)/debian"
export SBUILD_DIST="bullseye"
"$dir/setup-amd64.bash"
if [[ "$BUILD_FOR_ARCH" == "arm64" ]]; then
"$dir/setup-arm64.bash"
fi
|