[PATCH] fix 531304, 529392

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

 



With rescue copying install.img to /tmp when available_memory>128000k,
this left the machine unable to hold install.img in ram if there is
under 256M of ram. Patch to change that to be based on MIN_GUI_RAM
instead.  

Hope it helps,

Jerry
diff -up ./cdinstall.c.orig ./cdinstall.c
--- ./cdinstall.c.orig	2009-11-07 10:23:54.000000000 -0600
+++ ./cdinstall.c	2009-11-07 10:24:45.000000000 -0600
@@ -380,7 +380,7 @@ static char *setupCdrom(char *location, 
                     /* free up the CD drive and user can have it avaiable to  */
                     /* aid system recovery.                                   */
                     if (FL_RESCUE(flags) && !FL_TEXT(flags) &&
-                        totalMemory() > 128000) {
+                        totalMemory() > MIN_GUI_RAM ) {
                         rc = copyFile(stage2loc, "/tmp/install.img");
                         stage2img = strdup("/tmp/install.img");
                         stage2inram = 1;
_______________________________________________
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