From 13d8db0a3216c791c0d0659b47de33790215b570 Mon Sep 17 00:00:00 2001 From: Anssi Hannula Date: Sun, 17 Apr 2011 14:34:07 +0000 Subject: Add nokmsboot boot option also if the bootloader is installed after setting up a conflicting display driver (e.g. draklive-install). --- perl-install/NEWS | 2 ++ perl-install/any.pm | 5 +++++ perl-install/install/NEWS | 3 +++ 3 files changed, 10 insertions(+) (limited to 'perl-install') diff --git a/perl-install/NEWS b/perl-install/NEWS index f3a09f6cc..18d58dedb 100644 --- a/perl-install/NEWS +++ b/perl-install/NEWS @@ -5,6 +5,8 @@ if no reboot is needed o do not switch a display driver if speedboot has already started X server, in that case simply disable speedboot for next boot +- add nokmsboot boot option also if the bootloader is installed after setting + up a conflicting display driver (e.g. draklive-install) Version 13.47 - modify a string in partitioning_wizard.pm to be more grammatically correct diff --git a/perl-install/any.pm b/perl-install/any.pm index 91300d6f1..874d6ee6e 100644 --- a/perl-install/any.pm +++ b/perl-install/any.pm @@ -179,6 +179,11 @@ sub setupBootloaderBefore { } } + #- set nokmsboot if a conflicting driver is configured. + if (-x "$::prefix/sbin/display_driver_helper" && !run_program::rooted($::prefix, "/sbin/display_driver_helper", "--is-kms-allowed")) { + bootloader::set_append_simple($bootloader, 'nokmsboot'); + } + #- check for valid fb mode to enable a default boot with frame buffer. my $vga = $allow_fb && (!detect_devices::matching_desc__regexp('3D Rage LT') && !detect_devices::matching_desc__regexp('Rage Mobility [PL]') && diff --git a/perl-install/install/NEWS b/perl-install/install/NEWS index 4caea7afa..2ba05f661 100644 --- a/perl-install/install/NEWS +++ b/perl-install/install/NEWS @@ -1,3 +1,6 @@ +- add nokmsboot boot option also if the bootloader is installed after setting + up a conflicting display driver (e.g. draklive-install) + Version 13.47 - update modules list needed for md raid456 and dm-raid 4/5/6 target -- cgit v1.2.1