diff options
Diffstat (limited to 'rescue')
-rwxr-xr-x | rescue/tree/etc/oem | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/rescue/tree/etc/oem b/rescue/tree/etc/oem index aee0cd14b..0ea5c3aad 100755 --- a/rescue/tree/etc/oem +++ b/rescue/tree/etc/oem @@ -872,6 +872,7 @@ sub selectPackage { my $dep = $packages->{depslist}[$_] or next; $preferred ||= $dep; $dep->{selected} and $preferred = $dep, last; + packageName($dep) =~ /kernel-\d/ and $preferred = $dep; #- hard coded preference to simple kernel exists $preferred{::chop_version($dep->{name})} and $preferred = $dep; } selectPackage($packages, $preferred, $base, $otherOnly, $check_recursion) if $preferred; |