[PATCH] don't change from cmdline to textmode on lowmem systems

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

this one-liner should make installation in cmdline possible for systems
  with little RAM. Currently if little RAM is detected, anaconda changes
to textmode. Running in cmdmode should also be possible. This patch is
completely untested for now, but please verify.

Thanks,
Niels

diff --git a/anaconda b/anaconda
index 09a1107..f0cbf0a 100755
--- a/anaconda
+++ b/anaconda
@@ -457,7 +457,7 @@ def checkMemory(opts):
 
     # override display mode if machine cannot nicely run X
     if not flags.test:
-        if iutil.memInstalled() < isys.MIN_GUI_RAM:
+        if opts.display_mode not in ('t', 'c') and iutil.memInstalled() < isys.MIN_GUI_RAM:
             stdoutLog.warning(_("You do not have enough RAM to use the graphical "
                                 "installer.  Starting text mode."))
             opts.display_mode = 't'

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list

[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux