mirror of
https://github.com/systemd/systemd.git
synced 2026-08-08 00:51:19 +00:00
Merge pull request #31692 from bluca/semaphore_autopkgtest_fixes
semaphore: move back to autopkgtest master branch and rearrange build deps
This commit is contained in:
@@ -44,12 +44,14 @@ apt-get -q --allow-releaseinfo-change update
|
||||
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
|
||||
apt-get install -y tree libpwquality-dev rpm libcurl4-openssl-dev libarchive-dev
|
||||
# autopkgtest doesn't consider backports
|
||||
apt-get install -y -t $RELEASE-backports debhelper libcurl4-openssl-dev libarchive-dev
|
||||
apt-get install -y -t $RELEASE-backports debhelper
|
||||
apt-get purge --auto-remove -y unattended-upgrades
|
||||
systemctl unmask systemd-networkd
|
||||
systemctl enable systemd-networkd
|
||||
# Remove once https://salsa.debian.org/ci-team/autopkgtest/-/merge_requests/297 is sorted
|
||||
adduser --disabled-login --gecos 'Temporary autopkgtest user,,,' autopkgtest
|
||||
EOF
|
||||
sudo lxc-stop -n "$CONTAINER"
|
||||
}
|
||||
@@ -66,7 +68,7 @@ for phase in "${PHASES[@]}"; do
|
||||
sudo apt-get install -y -t "$UBUNTU_RELEASE-backports" lxc
|
||||
sudo apt-get install -y python3-debian git dpkg-dev fakeroot python3-jinja2
|
||||
|
||||
[ -d "$AUTOPKGTEST_DIR" ] || git clone --quiet --branch=debian/5.32 --depth=1 https://salsa.debian.org/ci-team/autopkgtest.git "$AUTOPKGTEST_DIR"
|
||||
[ -d "$AUTOPKGTEST_DIR" ] || git clone --quiet --depth=1 https://salsa.debian.org/ci-team/autopkgtest.git "$AUTOPKGTEST_DIR"
|
||||
|
||||
create_container
|
||||
;;
|
||||
|
||||
Reference in New Issue
Block a user