Skip to content

Commit

Permalink
kdump: Determine kernel debuginfo automatically
Browse files Browse the repository at this point in the history
Fix poo#165273: There was hard coded package name for kernel debuginfo
on transactional systems. We should determine correct debuginfo from
active kernel as we do on non-transactional systems.
  • Loading branch information
czerw committed Aug 14, 2024
1 parent cdfd608 commit 382a77b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/kdump_utils.pm
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,8 @@ my $install_debug_info_timeout = 4000;

sub install_transactional_kernel_debuginfo {
return undef if get_var('SKIP_KERNEL_DEBUGINFO');
my $cmd = 'transactional-update --continue --non-interactive pkg install kernel-default-debuginfo';
my $kernel_debuginfo_package = determine_kernel_debuginfo_package();
my $cmd = 'transactional-update --continue --non-interactive pkg install kernel_debuginfo_package';
assert_script_run($cmd, timeout => $install_debug_info_timeout);
}

Expand Down

0 comments on commit 382a77b

Please sign in to comment.