diff options
author | Olivier Blin <oblin@mandriva.com> | 2009-09-14 15:52:03 +0000 |
---|---|---|
committer | Olivier Blin <oblin@mandriva.com> | 2009-09-14 15:52:03 +0000 |
commit | f8ad22beee0a2c190120792f5f7bcfed73ff629f (patch) | |
tree | db7b22d89a25726860ac18ee09aff501a0b1eaf3 /perl-install/install/pkgs.pm | |
parent | 1d6bb8d91e0d5a7e9c89255b8b881827b4441920 (diff) | |
download | drakx-backup-do-not-use-f8ad22beee0a2c190120792f5f7bcfed73ff629f.tar drakx-backup-do-not-use-f8ad22beee0a2c190120792f5f7bcfed73ff629f.tar.gz drakx-backup-do-not-use-f8ad22beee0a2c190120792f5f7bcfed73ff629f.tar.bz2 drakx-backup-do-not-use-f8ad22beee0a2c190120792f5f7bcfed73ff629f.tar.xz drakx-backup-do-not-use-f8ad22beee0a2c190120792f5f7bcfed73ff629f.zip |
allow to set preferred kernel extension in o->{kernel_extension}
Diffstat (limited to 'perl-install/install/pkgs.pm')
-rw-r--r-- | perl-install/install/pkgs.pm | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/perl-install/install/pkgs.pm b/perl-install/install/pkgs.pm index 854862919..98b976505 100644 --- a/perl-install/install/pkgs.pm +++ b/perl-install/install/pkgs.pm @@ -103,6 +103,7 @@ sub packageByName { sub _bestKernel_extensions { my ($o_match_all_hardware) = @_; + $::o->{kernel_extension} ? $::o->{kernel_extension} : $o_match_all_hardware ? (arch() =~ /i.86/ ? '-desktop586' : '-desktop') : detect_devices::is_xbox() ? '-xbox' : detect_devices::is_i586() ? '-desktop586' : |