summaryrefslogtreecommitdiffstats
path: root/perl-install/install_any.pm
diff options
context:
space:
mode:
authorFrancois Pons <fpons@mandriva.com>2001-03-07 12:29:24 +0000
committerFrancois Pons <fpons@mandriva.com>2001-03-07 12:29:24 +0000
commit1a4a094525ac7f13f00df143e87d1a8283b03ce4 (patch)
tree7628b6a683b78dbf4895c602586c1fa435fa5643 /perl-install/install_any.pm
parent9d0d9669958fa6c420a3c1ebcea4becdc3cc477f (diff)
downloaddrakx-1a4a094525ac7f13f00df143e87d1a8283b03ce4.tar
drakx-1a4a094525ac7f13f00df143e87d1a8283b03ce4.tar.gz
drakx-1a4a094525ac7f13f00df143e87d1a8283b03ce4.tar.bz2
drakx-1a4a094525ac7f13f00df143e87d1a8283b03ce4.tar.xz
drakx-1a4a094525ac7f13f00df143e87d1a8283b03ce4.zip
fixed support for other kernel for bootloader entries.
automatically add 2.2 entries for kernel22 (manage hack-kernel too).
Diffstat (limited to 'perl-install/install_any.pm')
-rw-r--r--perl-install/install_any.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/install_any.pm b/perl-install/install_any.pm
index 8147dd73c..3b45c9cb2 100644
--- a/perl-install/install_any.pm
+++ b/perl-install/install_any.pm
@@ -197,7 +197,7 @@ sub clean_postinstall_rpms() {
#-######################################################################################
sub kernelVersion {
my ($o) = @_;
- local $_ = readlink("$::o->{prefix}/boot/vmlinuz") and return first(/vmlinuz-(.*)/);
+ local $_ = readlink("$::o->{prefix}/boot/vmlinuz") and return first(/vmlinuz-(.*mdk)/);
require pkgs;
my $p = pkgs::packageByName($o->{packages}, "kernel") or die "I couldn't find the kernel package!";