summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--perl-install/detect_devices.pm1
-rw-r--r--perl-install/install/NEWS3
-rw-r--r--perl-install/install/install2.pm2
3 files changed, 5 insertions, 1 deletions
diff --git a/perl-install/detect_devices.pm b/perl-install/detect_devices.pm
index 9547d8a9a..6ba852fec 100644
--- a/perl-install/detect_devices.pm
+++ b/perl-install/detect_devices.pm
@@ -1241,7 +1241,6 @@ sub matching_types() {
sub hasCPUMicrocode() {
state $hasCPUMicrocode;
if (!defined $hasCPUMicrocode) {
- eval { modules::load('microcode') };
$hasCPUMicrocode = to_bool(find { 'microcode' } modules::loaded_modules());
}
return $hasCPUMicrocode;
diff --git a/perl-install/install/NEWS b/perl-install/install/NEWS
index 39d22cf2d..27e906a0c 100644
--- a/perl-install/install/NEWS
+++ b/perl-install/install/NEWS
@@ -1,3 +1,6 @@
+- load 'microcode' asynchronously, preventing big wait when not supported
+ (mga#7671)
+
Version 14.46.2 - 3 October 2012
- adapt to latest dash-static
diff --git a/perl-install/install/install2.pm b/perl-install/install/install2.pm
index 24d99cb03..6717a089e 100644
--- a/perl-install/install/install2.pm
+++ b/perl-install/install/install2.pm
@@ -613,6 +613,8 @@ sub main {
init_local_install($o);
} else {
start_udev();
+ # load some modules early but asynchronously:
+ run_program::raw({ detach => 1 }, 'modprobe', 'microcode');
}
$o->{prefix} = $::prefix = $::testing ? "/tmp/test-perl-install" : "/mnt";