blob: 45d003f320d2640272c0167876db3f44161c6f49 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
#!/bin/sh
set -x
set -e
# Debug what repositories are available to begin with
grep -r "^deb " /etc/apt/sources.*
# Enable the same repositories that were available at build time in
# registry.salsa.debian.org/salsa-ci-team/pipeline/base:bullseye
. /etc/os-release
cat << EOF > /etc/apt/sources.list.d/base-$VERSION_CODENAME-repos.list
deb http://deb.debian.org/debian $VERSION_CODENAME main
deb http://deb.debian.org/debian-security $VERSION_CODENAME-security main
deb http://deb.debian.org/debian $VERSION_CODENAME-updates main
EOF
apt-get update
# Ref
# bullseye piuparts test runner environment is missing the bullseye-updates apt repository: https://salsa.debian.org/salsa-ci-team/pipeline/-/issues/292
# piuparts: doesn't install dependencies from experimental or -backports: https://salsa.debian.org/salsa-ci-team/pipeline/-/issues/58
# autopkgtest: doesn't install dependencies from experimental or backports: https://salsa.debian.org/salsa-ci-team/pipeline/-/issues/85
|