summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.com>2008-05-30 10:59:04 +0000
committerOlivier Blin <oblin@mandriva.com>2008-05-30 10:59:04 +0000
commit5811cc2d9e0967b3a39b63c0d5f27448cf12a5a0 (patch)
treeeb2333753f31f238d32a148cb387cfb25bc980a0
parent06070cc6b10f72fa0d327cb5ac334c7293a58e50 (diff)
downloaddrakx-5811cc2d9e0967b3a39b63c0d5f27448cf12a5a0.tar
drakx-5811cc2d9e0967b3a39b63c0d5f27448cf12a5a0.tar.gz
drakx-5811cc2d9e0967b3a39b63c0d5f27448cf12a5a0.tar.bz2
drakx-5811cc2d9e0967b3a39b63c0d5f27448cf12a5a0.tar.xz
drakx-5811cc2d9e0967b3a39b63c0d5f27448cf12a5a0.zip
service_harddrake: do not allow fbdev if /proc/fb is empty
-rw-r--r--perl-install/NEWS2
-rw-r--r--perl-install/harddrake/autoconf.pm2
2 files changed, 3 insertions, 1 deletions
diff --git a/perl-install/NEWS b/perl-install/NEWS
index 15274aa2c..8faa86ef4 100644
--- a/perl-install/NEWS
+++ b/perl-install/NEWS
@@ -1,6 +1,8 @@
- do open bug in running firefox drakbug (#31109)
- allow mounting ntfs-3g partitions
(also fixes detection of Windows partitions during live installation)
+- service_harddrake:
+ o do not allow fbdev if /proc/fb is empty
Version 10.29.5 - 20 May 2008
diff --git a/perl-install/harddrake/autoconf.pm b/perl-install/harddrake/autoconf.pm
index 791185b67..98be5d878 100644
--- a/perl-install/harddrake/autoconf.pm
+++ b/perl-install/harddrake/autoconf.pm
@@ -13,7 +13,7 @@ sub xconf {
$o->{raw_X} = Xconfig::default::configure($do_pkgs);
require Xconfig::main;
- Xconfig::main::configure_everything_auto_install($o->{raw_X}, $do_pkgs, {}, { allowFB => 1 });
+ Xconfig::main::configure_everything_auto_install($o->{raw_X}, $do_pkgs, {}, { allowFB => listlength(cat_("/proc/fb")) });
#- always disable compositing desktop effects when configuring a new video card
require Xconfig::glx;