summaryrefslogtreecommitdiffstats
path: root/perl-install/bootloader.pm
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2016-06-23 11:51:21 +0200
committerThierry Vignaud <thierry.vignaud@gmail.com>2016-06-23 15:12:51 +0200
commit70fde96d984a903d79f03bf36b596514051bd79d (patch)
treeed93522a909524ab3cf06c78fc0794a217f5ba86 /perl-install/bootloader.pm
parent098444cd0c5ad715956f680a45c2fa538f5887cc (diff)
downloaddrakx-70fde96d984a903d79f03bf36b596514051bd79d.tar
drakx-70fde96d984a903d79f03bf36b596514051bd79d.tar.gz
drakx-70fde96d984a903d79f03bf36b596514051bd79d.tar.bz2
drakx-70fde96d984a903d79f03bf36b596514051bd79d.tar.xz
drakx-70fde96d984a903d79f03bf36b596514051bd79d.zip
fix kernel names in logs
Diffstat (limited to 'perl-install/bootloader.pm')
-rw-r--r--perl-install/bootloader.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/bootloader.pm b/perl-install/bootloader.pm
index f1e3f4fb8..23331d1b2 100644
--- a/perl-install/bootloader.pm
+++ b/perl-install/bootloader.pm
@@ -1178,7 +1178,7 @@ sub suggest {
}
my @kernels = get_kernels_and_labels() or die "no kernel installed";
- log::l("found kernels: ", join(', ', @kernels));
+ log::l("found kernels: ", join(', ', map { $_->{version} } @kernels));
my %old_kernels = map { vmlinuz2version($_->{kernel_or_dev}) => 1 } @{$bootloader->{entries}};
@kernels = grep { !$old_kernels{$_->{version}} } @kernels;