summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 b61755b8c..bcc440e65 100644
--- a/perl-install/pkgs.pm
+++ b/perl-install/pkgs.pm
@@ -196,6 +196,7 @@ sub bestKernelPackage {
}
log::l("bestKernelPackage: " . join(' ', map { $_->{pkg}->name } @kernels) . (@kernels > 1 ? ' (choosing the first)' : ''));
+ $preferred{'kernel-source-' . $kernels[0]{version}} = undef;
$kernels[0]{pkg};
}