mirror of
https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git
synced 2025-08-20 14:25: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:
parent
bee2e1bd04
commit
9896fdd58d
@ -58,9 +58,6 @@ except IndexError:
|
|||||||
sys.exit("Must specify two input filenames!")
|
sys.exit("Must specify two input filenames!")
|
||||||
try:
|
try:
|
||||||
updalias = sys.argv[3]
|
updalias = sys.argv[3]
|
||||||
if updalias == "FEDORA-2025-14272e396a":
|
|
||||||
print("Very special update, bypassing updvercheck")
|
|
||||||
sys.exit()
|
|
||||||
except IndexError:
|
except IndexError:
|
||||||
updalias = None
|
updalias = None
|
||||||
|
|
||||||
|
@ -762,7 +762,9 @@ sub _repo_setup_updates {
|
|||||||
# where the updated packages should have been installed
|
# where the updated packages should have been installed
|
||||||
# already and we want to fail if they weren't, or CANNED
|
# already and we want to fail if they weren't, or CANNED
|
||||||
# tests, there's no point updating the toolbox
|
# 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
|
# on liveinst tests, we'll remove the packages we installed
|
||||||
# above (and their deps, which dnf will include automatically),
|
# above (and their deps, which dnf will include automatically),
|
||||||
# just in case they're in the update under test; otherwise we
|
# just in case they're in the update under test; otherwise we
|
||||||
|
Loading…
Reference in New Issue
Block a user