mirror of
https://github.com/systemd/systemd.git
synced 2025-01-09 01:18:19 +03:00
semaphore: enable backports to get new dependencies
Required due to building with debian/master branch
This commit is contained in:
parent
132f785429
commit
4117a0d5e6
@ -29,6 +29,7 @@ create_container() {
|
|||||||
# enable source repositories so that apt-get build-dep works
|
# enable source repositories so that apt-get build-dep works
|
||||||
sudo lxc-attach -n "$CONTAINER" -- sh -ex <<EOF
|
sudo lxc-attach -n "$CONTAINER" -- sh -ex <<EOF
|
||||||
sed 's/^deb/deb-src/' /etc/apt/sources.list >>/etc/apt/sources.list.d/sources.list
|
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
|
# We might attach the console too soon
|
||||||
until systemctl --quiet --wait is-system-running; do sleep 1; done
|
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
|
# 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
|
apt-get install -y eatmydata
|
||||||
# The following four are needed as long as these deps are not covered by Debian's own packaging
|
# 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
|
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
|
apt-get purge --auto-remove -y unattended-upgrades
|
||||||
systemctl unmask systemd-networkd
|
systemctl unmask systemd-networkd
|
||||||
systemctl enable systemd-networkd
|
systemctl enable systemd-networkd
|
||||||
|
Loading…
Reference in New Issue
Block a user