From 821a1eae006afd525a53a6501e5b45111392c41a Mon Sep 17 00:00:00 2001 From: Jozef Pupava Date: Tue, 31 Oct 2023 10:47:19 +0100 Subject: [PATCH] Try INCIDENT_DEP --- tests/qam-updinstall/update_install.pm | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/tests/qam-updinstall/update_install.pm b/tests/qam-updinstall/update_install.pm index 062765dc0c77..9e7e6cfce2c4 100644 --- a/tests/qam-updinstall/update_install.pm +++ b/tests/qam-updinstall/update_install.pm @@ -155,6 +155,17 @@ sub run { } record_info('Modules', "@modules"); + if (get_var('INCIDENT_DEP')) { + my @repos = split(/,/, get_var('INCIDENT_DEP', '')); + + for my $repo (@repos) { + my @repo_part = split(/;/, $repo); + my $url = $repo_part[1]; + my $name = $repo_part[0]; + qam::add_repo_if_not_present($url, $name); + } + } + # Patch the SUT to a released state; fully_patch_system;