summaryrefslogtreecommitdiffstats
path: root/perl-install
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
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')
-rw-r--r--perl-install/bootloader.pm2
-rw-r--r--perl-install/install/NEWS2
2 files changed, 3 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;
diff --git a/perl-install/install/NEWS b/perl-install/install/NEWS
index ffd13636e..3a0b60d07 100644
--- a/perl-install/install/NEWS
+++ b/perl-install/install/NEWS
@@ -1,3 +1,5 @@
+- logs:
+ o fix found kernel names
- summary:
o sort service categories, putting "Other" at end (mga#6286)