summaryrefslogtreecommitdiffstats
path: root/perl-install/harddrake
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.com>2009-09-14 15:59:23 +0000
committerOlivier Blin <oblin@mandriva.com>2009-09-14 15:59:23 +0000
commit38e9284911ae5cbccf5f839534f32e4d0c8906f8 (patch)
treed625fa1866842daeb3cac658b110623795358ebc /perl-install/harddrake
parentf8ad22beee0a2c190120792f5f7bcfed73ff629f (diff)
downloaddrakx-backup-do-not-use-38e9284911ae5cbccf5f839534f32e4d0c8906f8.tar
drakx-backup-do-not-use-38e9284911ae5cbccf5f839534f32e4d0c8906f8.tar.gz
drakx-backup-do-not-use-38e9284911ae5cbccf5f839534f32e4d0c8906f8.tar.bz2
drakx-backup-do-not-use-38e9284911ae5cbccf5f839534f32e4d0c8906f8.tar.xz
drakx-backup-do-not-use-38e9284911ae5cbccf5f839534f32e4d0c8906f8.zip
harddrake: allow to skip XFdrake framebuffer setup (and thus splash removal) if SETUP_FB is set to "no" in /etc/sysconfig/harddrake2/service.conf
Diffstat (limited to 'perl-install/harddrake')
-rw-r--r--perl-install/harddrake/autoconf.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/harddrake/autoconf.pm b/perl-install/harddrake/autoconf.pm
index f59281b55..dadf133c7 100644
--- a/perl-install/harddrake/autoconf.pm
+++ b/perl-install/harddrake/autoconf.pm
@@ -3,7 +3,7 @@ package harddrake::autoconf;
use common;
sub xconf {
- my ($modules_conf, $o) = @_;
+ my ($modules_conf, $o, $o_skip_fb_setup) = @_;
log::l('automatic XFree configuration');
@@ -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 => listlength(cat_("/proc/fb")) });
+ Xconfig::main::configure_everything_auto_install($o->{raw_X}, $do_pkgs, {}, { allowFB => listlength(cat_("/proc/fb")), skip_fb_setup => $o_skip_fb_setup });
#- always disable compositing desktop effects when configuring a new video card
require Xconfig::glx;