diff options
author | Francois Pons <fpons@mandriva.com> | 2002-08-20 14:54:54 +0000 |
---|---|---|
committer | Francois Pons <fpons@mandriva.com> | 2002-08-20 14:54:54 +0000 |
commit | 538ca0ce0f3c6b9ad22ce0902d509f96ecb34965 (patch) | |
tree | 9a5c6a16a4168859e359c31b6d6d244f3a669db2 | |
parent | 2e63b0cb0921be02a758b503ade2657139ab3b4f (diff) | |
download | drakx-538ca0ce0f3c6b9ad22ce0902d509f96ecb34965.tar drakx-538ca0ce0f3c6b9ad22ce0902d509f96ecb34965.tar.gz drakx-538ca0ce0f3c6b9ad22ce0902d509f96ecb34965.tar.bz2 drakx-538ca0ce0f3c6b9ad22ce0902d509f96ecb34965.tar.xz drakx-538ca0ce0f3c6b9ad22ce0902d509f96ecb34965.zip |
make sure kernel is selected during upgrade.
-rw-r--r-- | perl-install/install_any.pm | 5 |
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}); |