Skip to content

Commit

Permalink
d
Browse files Browse the repository at this point in the history
  • Loading branch information
coolgw committed Jul 17, 2024
1 parent 27ec815 commit 274201a
Showing 1 changed file with 4 additions and 9 deletions.
13 changes: 4 additions & 9 deletions lib/kernel.pm
Original file line number Diff line number Diff line change
Expand Up @@ -30,20 +30,15 @@ sub remove_kernel_packages {

if (check_var('SLE_PRODUCT', 'slert')) {
# workaround for bsc1227773
if (is_transactional) {
@packages = qw(kernel-rt);
} else {
@packages = qw(kernel-rt kernel-rt-devel kernel-source-rt);
}
@packages = qw(kernel-rt);
push @packages, qw(kernel-rt-devel kernel-source-rt) unless is_transactional;
}
elsif (get_kernel_flavor eq 'kernel-64kb') {
@packages = qw(kernel-64kb*);
}
elsif (is_transactional) {
@packages = qw(kernel-default);
}
else {
@packages = qw(kernel-default kernel-default-devel kernel-macros kernel-source);
@packages = qw(kernel-default);
push @packages, qw(kernel-default-devel kernel-macros kernel-source) unless is_transactional;
}

# SLE12 and SLE12SP1 has xen kernel
Expand Down

0 comments on commit 274201a

Please sign in to comment.