summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorMartin Whitaker <mageia@martin-whitaker.me.uk>2020-03-21 10:25:42 +0000
committerMartin Whitaker <mageia@martin-whitaker.me.uk>2020-03-21 10:25:42 +0000
commitbd93eb514e6e1f42b7e136ef8e8b277c3a9d89b0 (patch)
tree1c20fa7a89ceae677c9cfba8727c28a214ffebc6 /perl-install
parent68c21fe2efabc7310565d1746f2954fa4ea317ad (diff)
downloaddrakx-bd93eb514e6e1f42b7e136ef8e8b277c3a9d89b0.tar
drakx-bd93eb514e6e1f42b7e136ef8e8b277c3a9d89b0.tar.gz
drakx-bd93eb514e6e1f42b7e136ef8e8b277c3a9d89b0.tar.bz2
drakx-bd93eb514e6e1f42b7e136ef8e8b277c3a9d89b0.tar.xz
drakx-bd93eb514e6e1f42b7e136ef8e8b277c3a9d89b0.zip
service_harddrake: recognise noxconf boot command line option.
This option disables the creation of /etc/X11/xorg.conf, which allows the X server to automatically configure itself. This works better on some hardware.
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/NEWS2
-rwxr-xr-xperl-install/standalone/service_harddrake1
2 files changed, 3 insertions, 0 deletions
diff --git a/perl-install/NEWS b/perl-install/NEWS
index e54eea86d..3bcfe329d 100644
--- a/perl-install/NEWS
+++ b/perl-install/NEWS
@@ -1,3 +1,5 @@
+- service_harddrake: recognise noxconf boot command line option
+ (disables creation of xorg.conf, allowing X server to configure itself)
- cache results from detect_devices::getInputDevices()
(significantly speeds up service_harddrake, and hence Live ISO boot)
diff --git a/perl-install/standalone/service_harddrake b/perl-install/standalone/service_harddrake
index ec6eff8b0..fb813e84f 100755
--- a/perl-install/standalone/service_harddrake
+++ b/perl-install/standalone/service_harddrake
@@ -357,6 +357,7 @@ foreach my $hw_class (@harddrake::data::tree) {
modules::load_category($modules_conf, 'bus/usb');
$modules_conf->write;
} elsif ($Ident eq "VIDEO") {
+ next if cat_("/proc/cmdline") =~ /noxconf/;
# explicitely NOT read the existing config (eg: new profile with globetrotter)
harddrake::autoconf::xconf($modules_conf, {}, member($cfg{SETUP_FB}, qw(NO no)), $cfg{RESOLUTION_WANTED});
$reboot_needed |= after_x_driver_switch();