summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2001-12-05 23:05:22 +0000
committerPascal Rigaux <pixel@mandriva.com>2001-12-05 23:05:22 +0000
commit3f77ab51647be995ed6588752f6239ca3e7640b5 (patch)
tree08b01869e89ed91d3ec624e706ef16b24f9bddea
parent2c0680fa67635b0e35f03b96dacec0c2e085cae7 (diff)
downloaddrakx-3f77ab51647be995ed6588752f6239ca3e7640b5.tar
drakx-3f77ab51647be995ed6588752f6239ca3e7640b5.tar.gz
drakx-3f77ab51647be995ed6588752f6239ca3e7640b5.tar.bz2
drakx-3f77ab51647be995ed6588752f6239ca3e7640b5.tar.xz
drakx-3f77ab51647be995ed6588752f6239ca3e7640b5.zip
(selectPackage): hard coded preference to simple kernel
-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";