summaryrefslogtreecommitdiffstats
path: root/perl-install/any.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2002-01-03 17:46:02 +0000
committerPascal Rigaux <pixel@mandriva.com>2002-01-03 17:46:02 +0000
commit6b7e1e5ba3348b4f6c2bcae6fe659d742991b63b (patch)
tree76aa99e1c7eec479dd828bd97041abd44783675c /perl-install/any.pm
parentc451c2ba4d5470ba3eb838a8096c52f7e96e9189 (diff)
downloaddrakx-backup-do-not-use-6b7e1e5ba3348b4f6c2bcae6fe659d742991b63b.tar
drakx-backup-do-not-use-6b7e1e5ba3348b4f6c2bcae6fe659d742991b63b.tar.gz
drakx-backup-do-not-use-6b7e1e5ba3348b4f6c2bcae6fe659d742991b63b.tar.bz2
drakx-backup-do-not-use-6b7e1e5ba3348b4f6c2bcae6fe659d742991b63b.tar.xz
drakx-backup-do-not-use-6b7e1e5ba3348b4f6c2bcae6fe659d742991b63b.zip
save the output of ddcxinfos before modprobe'ing i810fb, and use that output for Xconfig (when i810fb is modprobe'd, ddc probe doesn't work anymore)
Diffstat (limited to 'perl-install/any.pm')
-rw-r--r--perl-install/any.pm12
1 files changed, 11 insertions, 1 deletions
diff --git a/perl-install/any.pm b/perl-install/any.pm
index 1a8e5657a..389c57511 100644
--- a/perl-install/any.pm
+++ b/perl-install/any.pm
@@ -868,7 +868,7 @@ sub report_bug {
header("partitions"), cat_("/proc/partitions"),
header("cpuinfo"), cat_("/proc/cpuinfo"),
header("syslog"), cat_("/tmp/syslog"),
- header("ddcxinfos"), `$ENV{LD_LOADER} ddcxinfos`,
+ header("ddcxinfos"), ddcxinfos(),
header("stage1.log"), cat_("/tmp/stage1.log"),
header("ddebug.log"), cat_("/tmp/ddebug.log"),
header("install.log"), cat_("$prefix/root/install.log"),
@@ -911,4 +911,14 @@ Or on the command line use: "usermod -G fileshare user_name"');
}
}
+sub ddcxinfos {
+ if ($::isInstall && -e "/tmp/ddcxinfos") {
+ cat_("/tmp/ddcxinfos");
+ } else {
+ my @l = `$ENV{LD_LOADER} ddcxinfos`;
+ output("/tmp/ddcxinfos", @l) if $::isInstall;
+ @l;
+ }
+}
+
1;