summaryrefslogtreecommitdiffstats
path: root/rescue/tree
diff options
context:
space:
mode:
authorFrancois Pons <fpons@mandriva.com>2002-02-05 17:42:48 +0000
committerFrancois Pons <fpons@mandriva.com>2002-02-05 17:42:48 +0000
commit780fbe5d8baf5fffbed28ab624a7457f8df739f8 (patch)
treeb7d9fb6d4e22538b5c7ec0fa8366841bdde218f1 /rescue/tree
parent0ed05e4683b8b7435a42d6f4dd5da2d9fa684abb (diff)
downloaddrakx-backup-do-not-use-780fbe5d8baf5fffbed28ab624a7457f8df739f8.tar
drakx-backup-do-not-use-780fbe5d8baf5fffbed28ab624a7457f8df739f8.tar.gz
drakx-backup-do-not-use-780fbe5d8baf5fffbed28ab624a7457f8df739f8.tar.bz2
drakx-backup-do-not-use-780fbe5d8baf5fffbed28ab624a7457f8df739f8.tar.xz
drakx-backup-do-not-use-780fbe5d8baf5fffbed28ab624a7457f8df739f8.zip
select preferred kernel as kernel-\d.
Diffstat (limited to 'rescue/tree')
-rwxr-xr-xrescue/tree/etc/oem1
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;