summaryrefslogtreecommitdiffstats
path: root/perl-install/pkgs.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/pkgs.pm')
-rw-r--r--perl-install/pkgs.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/perl-install/pkgs.pm b/perl-install/pkgs.pm
index 690ddeb18..752d358fe 100644
--- a/perl-install/pkgs.pm
+++ b/perl-install/pkgs.pm
@@ -243,6 +243,7 @@ sub selectPackage { #($$;$$$)
my $dep = packageById($packages, $_) or next;
$preferred ||= $dep;
packageFlagSelected($dep) and $preferred = $dep, last;
+ packageName($dep) =~ /kernel-\d/ and $preferred = $dep; #- hard coded preference to simple kernel
exists $preferred{packageName($dep)} and $preferred = $dep;
}
$preferred or die "unable to find a package for choice";