summaryrefslogtreecommitdiffstats
path: root/perl-install/modules.pm
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2014-12-05 23:10:57 +0100
committerThierry Vignaud <thierry.vignaud@gmail.com>2014-12-05 23:11:49 +0100
commitcf937b5a274d1c3db2baa63476a60c9df9415ce1 (patch)
treeedde227ac75e752dc96400201f72d622816cc700 /perl-install/modules.pm
parent3bf5da0e1b456263d5bdfde4adb8f0156149792b (diff)
downloaddrakx-cf937b5a274d1c3db2baa63476a60c9df9415ce1.tar
drakx-cf937b5a274d1c3db2baa63476a60c9df9415ce1.tar.gz
drakx-cf937b5a274d1c3db2baa63476a60c9df9415ce1.tar.bz2
drakx-cf937b5a274d1c3db2baa63476a60c9df9415ce1.tar.xz
drakx-cf937b5a274d1c3db2baa63476a60c9df9415ce1.zip
gnore modules failures for hyper-v (mga#14117)
BTW why was this added here? this won't work in stage1... see commit 93cca46c26c2078593f663f894193053cc740d43
Diffstat (limited to 'perl-install/modules.pm')
-rw-r--r--perl-install/modules.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/modules.pm b/perl-install/modules.pm
index 5a122a11c..775a67447 100644
--- a/perl-install/modules.pm
+++ b/perl-install/modules.pm
@@ -270,8 +270,8 @@ sub when_load_category {
$conf->add_probeall('scsi_hostadapter', $name);
if (detect_devices::isHyperv()) {
log::l("HyperV detected. Loading storvsc");
- load('hv_vmbus');
- load('hv_storvsc');
+ # those works on Hyper-V but fails on Virtual PC:
+ eval { load($_) } foreach qw(hv_vmbus hv_storvsc);
}
eval { load('sd_mod') };
} elsif ($category eq 'bus/usb') {