diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2008-08-28 11:00:25 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2008-08-28 11:00:25 +0000 |
commit | 55715b8b922d0af5a5da0938a6df6e9025348154 (patch) | |
tree | 4b97bf2466009899378f7c9774bec16980c52531 /perl-install | |
parent | f1756d255d91d5ac7d1b67231888908113635b0e (diff) | |
download | drakx-55715b8b922d0af5a5da0938a6df6e9025348154.tar drakx-55715b8b922d0af5a5da0938a6df6e9025348154.tar.gz drakx-55715b8b922d0af5a5da0938a6df6e9025348154.tar.bz2 drakx-55715b8b922d0af5a5da0938a6df6e9025348154.tar.xz drakx-55715b8b922d0af5a5da0938a6df6e9025348154.zip |
- configure vga=785 (640x480) when vga=788 (800x600) fails during install
(useful on 800x480 netbooks)
other solutions could be:
- ensure gfxboot choose 785 when it detects 788 is not available
- ensure kernel tries 785 when 788 fails
Diffstat (limited to 'perl-install')
-rw-r--r-- | perl-install/diskdrake/hd_gtk.pm | 3 | ||||
-rw-r--r-- | perl-install/install/NEWS | 3 | ||||
-rw-r--r-- | perl-install/install/steps_gtk.pm | 13 |
3 files changed, 16 insertions, 3 deletions
diff --git a/perl-install/diskdrake/hd_gtk.pm b/perl-install/diskdrake/hd_gtk.pm index e37bdd340..ce9e6cb05 100644 --- a/perl-install/diskdrake/hd_gtk.pm +++ b/perl-install/diskdrake/hd_gtk.pm @@ -102,9 +102,6 @@ sub main { $in->ask_from_list_(N("Read carefully!"), N("Please make a backup of your data first"), [ N_("Exit"), N_("Continue") ], N_("Continue")) eq N_("Continue") or return if $::isStandalone; - $in->ask_warn('', -N("If you plan to use aboot, be careful to leave a free space (2048 sectors is enough) -at the beginning of the disk")) if arch() eq 'alpha' && !$::isEmbedded; undef $initializing; $w->main; diff --git a/perl-install/install/NEWS b/perl-install/install/NEWS index 9f05ee798..564f80d31 100644 --- a/perl-install/install/NEWS +++ b/perl-install/install/NEWS @@ -1,3 +1,6 @@ +- configure vga=785 (640x480) when vga=788 (800x600) fails during install + (useful on 800x480 netbooks) + Version 11.26.1 - 28 August 2008 - fix asterisk in titles diff --git a/perl-install/install/steps_gtk.pm b/perl-install/install/steps_gtk.pm index 5af3e3e6f..a32a195e6 100644 --- a/perl-install/install/steps_gtk.pm +++ b/perl-install/install/steps_gtk.pm @@ -123,6 +123,7 @@ sub new($$) { install::gtk::init_sizes($o); install::gtk::install_theme($o); install::gtk::create_steps_window($o); + _may_configure_framebuffer_640x480($o); $ugtk2::grab = 1; @@ -131,6 +132,18 @@ sub new($$) { $o; } +#- if we success to start X in 640x480 using driver "vesa", +#- we configure to use fb on installed system (to ensure splashy works) +#- (useful on 800x480 netbooks) +sub _may_configure_framebuffer_640x480 { + my ($o) = @_; + + if ($::rootwidth == 640 && !$o->{allowFB}) { + $o->{vga} = 785; + $o->{allowFB} = 1; + } +} + sub enteringStep { my ($o, $step) = @_; |