Skip to content

Commit

Permalink
Merge pull request #20803 from czerw/poo#170422
Browse files Browse the repository at this point in the history
kdump: Use http instead of ftp for debug repository
  • Loading branch information
schlad authored Dec 13, 2024
2 parents 1954343 + 71c3bee commit 6e5ed24
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions lib/kdump_utils.pm
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,11 @@ sub install_kernel_debuginfo {
}

sub get_repo_url_for_kdump_sle {
return join('/', $utils::OPENQA_FTP_URL, get_var('REPO_SLE_MODULE_BASESYSTEM_DEBUG'))
my $openqa_url = 'http://' . get_var('OPENQA_HOSTNAME', 'openqa.suse.de') . '/assets/repo';
return join('/', $openqa_url, get_var('REPO_SLE_MODULE_BASESYSTEM_DEBUG'))
if get_var('REPO_SLE_MODULE_BASESYSTEM_DEBUG')
and is_sle('15+');
return join('/', $utils::OPENQA_FTP_URL, get_var('REPO_SLES_DEBUG')) if get_var('REPO_SLES_DEBUG');
return join('/', $openqa_url, get_var('REPO_SLES_DEBUG')) if get_var('REPO_SLES_DEBUG');
}

sub prepare_for_kdump_sle {
Expand Down

0 comments on commit 6e5ed24

Please sign in to comment.