diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2004-02-16 10:24:15 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2004-02-16 10:24:15 +0000 |
commit | a906379e29ab5065c1da4f67b547986a9261441d (patch) | |
tree | 0efae09be7863d6691124448f4af0595a9dd57ab /perl-install | |
parent | bb6124bf14a8cce3047dd3cdd63e0f0e5402cc84 (diff) | |
download | drakx-backup-do-not-use-a906379e29ab5065c1da4f67b547986a9261441d.tar drakx-backup-do-not-use-a906379e29ab5065c1da4f67b547986a9261441d.tar.gz drakx-backup-do-not-use-a906379e29ab5065c1da4f67b547986a9261441d.tar.bz2 drakx-backup-do-not-use-a906379e29ab5065c1da4f67b547986a9261441d.tar.xz drakx-backup-do-not-use-a906379e29ab5065c1da4f67b547986a9261441d.zip |
add in %pkgs::preferred the kernel-source corresponding to the preferred kernel
Diffstat (limited to 'perl-install')
-rw-r--r-- | perl-install/pkgs.pm | 1 |
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}; } |