summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/install_any.pm5
1 files changed, 5 insertions, 0 deletions
diff --git a/perl-install/install_any.pm b/perl-install/install_any.pm
index e9c0a3dc2..c5abc334b 100644
--- a/perl-install/install_any.pm
+++ b/perl-install/install_any.pm
@@ -314,6 +314,11 @@ sub setPackages {
pkgs::selectPackage($o->{packages},
pkgs::packageByName($o->{packages}, 'basesystem') || die("missing basesystem package"), 1);
+ #- always try to select basic kernel (else on upgrade, kernel will never be updated provided a kernel is already
+ #- installed and provides what is necessary).
+ pkgs::selectPackage($o->{packages},
+ pkgs::bestKernelPackage($o->{packages}) || die("missing kernel package"), 1);
+
#- must be done after selecting base packages (to save memory)
pkgs::getProvides($o->{packages});