summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.com>2009-09-14 15:52:03 +0000
committerOlivier Blin <oblin@mandriva.com>2009-09-14 15:52:03 +0000
commitf8ad22beee0a2c190120792f5f7bcfed73ff629f (patch)
treedb7b22d89a25726860ac18ee09aff501a0b1eaf3 /perl-install
parent1d6bb8d91e0d5a7e9c89255b8b881827b4441920 (diff)
downloaddrakx-f8ad22beee0a2c190120792f5f7bcfed73ff629f.tar
drakx-f8ad22beee0a2c190120792f5f7bcfed73ff629f.tar.gz
drakx-f8ad22beee0a2c190120792f5f7bcfed73ff629f.tar.bz2
drakx-f8ad22beee0a2c190120792f5f7bcfed73ff629f.tar.xz
drakx-f8ad22beee0a2c190120792f5f7bcfed73ff629f.zip
allow to set preferred kernel extension in o->{kernel_extension}
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/install/NEWS2
-rw-r--r--perl-install/install/pkgs.pm1
2 files changed, 3 insertions, 0 deletions
diff --git a/perl-install/install/NEWS b/perl-install/install/NEWS
index 822cc9555..6817cab7d 100644
--- a/perl-install/install/NEWS
+++ b/perl-install/install/NEWS
@@ -1,3 +1,5 @@
+- allow to set preferred kernel extension in $o->{kernel_extension}
+
Version 12.49 - 8 September 2009
- mygtk2:
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' :