summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2007-08-08 16:10:33 +0000
committerThierry Vignaud <tv@mandriva.org>2007-08-08 16:10:33 +0000
commitb71693623f6f85a69115011348a45b7a0cd5522c (patch)
tree78c64919c1fd29e45a444e3bee099f66cf62e71f
parentfae5543c426deae4074b4fcd83e48be50fd36438 (diff)
downloaddrakx-b71693623f6f85a69115011348a45b7a0cd5522c.tar
drakx-b71693623f6f85a69115011348a45b7a0cd5522c.tar.gz
drakx-b71693623f6f85a69115011348a45b7a0cd5522c.tar.bz2
drakx-b71693623f6f85a69115011348a45b7a0cd5522c.tar.xz
drakx-b71693623f6f85a69115011348a45b7a0cd5522c.zip
(pci_probe) cache PCI probe results at install time too
-rw-r--r--perl-install/detect_devices.pm6
-rw-r--r--perl-install/install/NEWS2
2 files changed, 3 insertions, 5 deletions
diff --git a/perl-install/detect_devices.pm b/perl-install/detect_devices.pm
index bc4e6e27c..da30a04fb 100644
--- a/perl-install/detect_devices.pm
+++ b/perl-install/detect_devices.pm
@@ -780,11 +780,7 @@ sub pci_probe__real() {
} c::pci_probe());
}
sub pci_probe() {
- if ($::isStandalone && @pci) {
- @pci;
- } else {
- @pci = pci_probe__real();
- }
+ @pci = pci_probe__real() if !@pci;
}
sub usb_probe__real() {
diff --git a/perl-install/install/NEWS b/perl-install/install/NEWS
index f6a67630f..67a2ec01c 100644
--- a/perl-install/install/NEWS
+++ b/perl-install/install/NEWS
@@ -1,3 +1,5 @@
+- cache PCI probe results
+
Version 10.4.162 - 08 August 2007, by Thierry Vignaud
- drakboot: