diff --git a/image-trigger b/image-trigger index 281969a9a8..55131aef5e 100755 --- a/image-trigger +++ b/image-trigger @@ -52,7 +52,6 @@ REFRESH = { "fedora-rawhide-boot": {}, "fedora-rawhide-anaconda-payload": REFRESH_30, "opensuse-tumbleweed": {}, - "ubuntu-2204": {}, "ubuntu-2404": {}, "ubuntu-2604": {}, "ubuntu-stable": {}, diff --git a/images/scripts/debian.setup b/images/scripts/debian.setup index a4cfb02317..8fe407b21c 100755 --- a/images/scripts/debian.setup +++ b/images/scripts/debian.setup @@ -28,6 +28,7 @@ libvirt-daemon-system \ libvirt-dbus \ network-manager \ packagekit \ +pkexec \ pcp \ python3-pcp \ python3-dbus \ @@ -43,18 +44,6 @@ unattended-upgrades \ xdg-utils \ " -# udisks >= 2.10 depends on libblockdev-mdraid, so add it manually only for older OSes -if [ "$IMAGE" = "ubuntu-2204" ] ; then - COCKPIT_DEPS="$COCKPIT_DEPS libblockdev-mdraid2" -fi - -# policykit-1 was split into multiple packages on debian, ubuntu-2204 kept the old name -if [ "$IMAGE" = "ubuntu-2204" ]; then - COCKPIT_DEPS="$COCKPIT_DEPS policykit-1" -else - COCKPIT_DEPS="$COCKPIT_DEPS pkexec" -fi - # We also install the packages necessary to join a FreeIPA domain so # that we don't have to go to the network during a test run. IPA_CLIENT_PACKAGES="\ @@ -125,12 +114,7 @@ if [ "$IMAGE" = "ubuntu-2604" ] ; then TEST_PACKAGES="${TEST_PACKAGES/qemu-kvm/qemu-system-x86}" fi -# older libvirt have this builtin -if [ "$IMAGE" = "ubuntu-2204" ] ; then - TEST_PACKAGES="${TEST_PACKAGES/virtiofsd/}" -fi - -if [ "$IMAGE" = "ubuntu-2204" ] || [ "$IMAGE" = "ubuntu-2404" ]; then +if [ "$IMAGE" = "ubuntu-2404" ]; then # introduced in util-linux 2.40.1-5 TEST_PACKAGES="${TEST_PACKAGES/lastlog2/}" # renamed at some point @@ -155,11 +139,6 @@ chrony tzdata-legacy " -# introduced in debian 13 (trixie) and Ubuntu 23.10 -if [ "$IMAGE" = "ubuntu-2204" ] ; then - PACKAGE_SET_CHRONYD="${PACKAGE_SET_CHRONYD/tzdata-legacy/}" -fi - PACKAGE_SET_TIMESYNCD="\ systemd-timesyncd " @@ -196,7 +175,7 @@ EOF fi # systemd-cryptsetup was split out in 256.1-2, older releases don't have it yet -if [ "$IMAGE" = "ubuntu-2204" ] || [ "$IMAGE" = "ubuntu-2404" ]; then +if [ "$IMAGE" = "ubuntu-2404" ]; then TEST_PACKAGES="${TEST_PACKAGES/systemd-cryptsetup /}" fi @@ -308,11 +287,6 @@ EOF $APT install dpkg-dev pbuilder pbuilder --create --extrapackages "fakeroot $PBUILDER_EXTRA" -# our static build deps approach cannot resolve alternate build dependencies, -# so hide systemd-dev on older releases which don't have it yet -if [ "$IMAGE" = "ubuntu-2204" ] ; then - sed -i 's/systemd-dev |.*,/systemd,/' /tmp/out/tools/debian/control -fi cat <> /tmp/pbuilder_script #!/bin/sh @@ -356,14 +330,12 @@ systemctl disable --now systemd-networkd-wait-online.service # "unattended-upgrades" changes the default of 5 seconds to 30 # seconds. Let's override that. -if [ "$1" != "ubuntu-2204" ]; then - mkdir -p /etc/systemd/logind.conf.d - cat >/etc/systemd/logind.conf.d/zz-quick.conf </etc/systemd/logind.conf.d/zz-quick.conf <