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;