mirror of
https://github.com/systemd/systemd.git
synced 2026-07-12 10:34:12 +00:00
test: skip dnf signature checks in TEST-88-UPGRADE
Fixes failure on Rawhide: TEST-88-UPGRADE.sh[512]: Transaction failed: Rpm transaction failed. TEST-88-UPGRADE.sh[512]: Warning: skipped OpenPGP checks for 15 packages from repository: @commandline TEST-88-UPGRADE.sh[512]: - package systemd-shared-260~devel-20260218150812.fc45.x86_64 does not verify: no signature
This commit is contained in:
@@ -84,7 +84,7 @@ timer2=$(systemctl show -P NextElapseUSecRealtime upgrade_timer_test.timer)
|
||||
# FIXME: See https://github.com/systemd/systemd/pull/39293
|
||||
systemctl stop systemd-networkd-resolve-hook.socket || true
|
||||
|
||||
dnf downgrade -y --allowerasing --disablerepo '*' "$pkgdir"/distro/*.rpm
|
||||
dnf downgrade --no-gpgchecks -y --allowerasing --disablerepo '*' "$pkgdir"/distro/*.rpm
|
||||
|
||||
# Some distros don't ship networkd, so the test will always fail
|
||||
if command -v networkctl >/dev/null; then
|
||||
@@ -105,7 +105,7 @@ fi
|
||||
check_sd
|
||||
|
||||
# Finally test the upgrade
|
||||
dnf -y upgrade --disablerepo '*' "$pkgdir"/devel/*.rpm
|
||||
dnf -y upgrade --no-gpgchecks --disablerepo '*' "$pkgdir"/devel/*.rpm
|
||||
|
||||
# TODO: sanity checks
|
||||
check_sd
|
||||
|
||||
Reference in New Issue
Block a user