1
0
mirror of https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git synced 2025-08-19 05:45:45 +00:00

Actually, let's try using distro-sync for FEDORA-2025-14272e396a

Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
Adam Williamson 2025-07-11 22:45:49 -07:00
parent bee2e1bd04
commit 9896fdd58d
2 changed files with 3 additions and 4 deletions

View File

@ -58,9 +58,6 @@ except IndexError:
sys.exit("Must specify two input filenames!")
try:
updalias = sys.argv[3]
if updalias == "FEDORA-2025-14272e396a":
print("Very special update, bypassing updvercheck")
sys.exit()
except IndexError:
updalias = None

View File

@ -762,7 +762,9 @@ sub _repo_setup_updates {
# where the updated packages should have been installed
# already and we want to fail if they weren't, or CANNED
# tests, there's no point updating the toolbox
assert_script_run "dnf -y --best update", 1200 unless (get_var("UPGRADE") || get_var("INSTALL") || get_var("CANNED"));
my $advortask = get_var("ADVISORY_OR_TASK");
my $verb = $advortask eq "FEDORA-2025-14272e396a" ? 'distro-sync' : 'update';
assert_script_run "dnf -y --best ${verb}", 1200 unless (get_var("UPGRADE") || get_var("INSTALL") || get_var("CANNED"));
# on liveinst tests, we'll remove the packages we installed
# above (and their deps, which dnf will include automatically),
# just in case they're in the update under test; otherwise we