summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLuca Boccassi <bluca@debian.org>2024-02-22 11:18:32 +0100
committerLuca Boccassi <bluca@debian.org>2024-02-28 02:08:57 +0100
commit4117a0d5e6961eeb6fc5d2e05d9a117147f63040 (patch)
tree80790e62ef1438339fdfb92da6028e656f785259
parenttest/README: document how to add a new empty release to the PPA to migrate th... (diff)
downloadsystemd-4117a0d5e6961eeb6fc5d2e05d9a117147f63040.tar.xz
systemd-4117a0d5e6961eeb6fc5d2e05d9a117147f63040.zip
semaphore: enable backports to get new dependencies
Required due to building with debian/master branch
-rwxr-xr-x.semaphore/semaphore-runner.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/.semaphore/semaphore-runner.sh b/.semaphore/semaphore-runner.sh
index 5219172570..6ffbf12c55 100755
--- a/.semaphore/semaphore-runner.sh
+++ b/.semaphore/semaphore-runner.sh
@@ -29,6 +29,7 @@ create_container() {
# enable source repositories so that apt-get build-dep works
sudo lxc-attach -n "$CONTAINER" -- sh -ex <<EOF
sed 's/^deb/deb-src/' /etc/apt/sources.list >>/etc/apt/sources.list.d/sources.list
+echo "deb http://deb.debian.org/debian $RELEASE-backports main" >/etc/apt/sources.list.d/backports.list
# We might attach the console too soon
until systemctl --quiet --wait is-system-running; do sleep 1; done
# Manpages database trigger takes a lot of time and is not useful in a CI
@@ -44,6 +45,8 @@ apt-get -y dist-upgrade
apt-get install -y eatmydata
# The following four are needed as long as these deps are not covered by Debian's own packaging
apt-get install -y fdisk tree libfdisk-dev libp11-kit-dev libssl-dev libpwquality-dev rpm
+# autopkgtest doesn't consider backports
+apt-get install -y -t $RELEASE-backports debhelper libcurl4-openssl-dev libarchive-dev
apt-get purge --auto-remove -y unattended-upgrades
systemctl unmask systemd-networkd
systemctl enable systemd-networkd