From 4117a0d5e6961eeb6fc5d2e05d9a117147f63040 Mon Sep 17 00:00:00 2001 From: Luca Boccassi Date: Thu, 22 Feb 2024 10:18:32 +0000 Subject: semaphore: enable backports to get new dependencies Required due to building with debian/master branch --- .semaphore/semaphore-runner.sh | 3 +++ 1 file changed, 3 insertions(+) (limited to '.semaphore') 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 <>/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 -- cgit v1.2.3