summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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' :