From 3f77ab51647be995ed6588752f6239ca3e7640b5 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Wed, 5 Dec 2001 23:05:22 +0000 Subject: (selectPackage): hard coded preference to simple kernel --- perl-install/pkgs.pm | 1 + 1 file changed, 1 insertion(+) 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"; -- cgit v1.2.1