diff options
author | Jeremy Katz <katzj@redhat.com> | 2005-05-19 18:52:30 +0000 |
---|---|---|
committer | Jeremy Katz <katzj@redhat.com> | 2005-05-19 18:52:30 +0000 |
commit | a1ba1d137774f25ccd37201dbeace38d7993aca3 (patch) | |
tree | f427a46a221a4b0520ef3081cc737e8e6efb4e3a /loader2/urlinstall.c | |
parent | c778451464830b6b7ee76d9c1d853946832cedb5 (diff) | |
download | anaconda-a1ba1d137774f25ccd37201dbeace38d7993aca3.tar.gz anaconda-a1ba1d137774f25ccd37201dbeace38d7993aca3.tar.xz anaconda-a1ba1d137774f25ccd37201dbeace38d7993aca3.zip |
i2005-05-19 Jeremy Katz <katzj@redhat.com>
* loader2/urlinstall.c (loadUrlImages): Use the constant, bumped
to 192M to try to avoid OOM situations (#157274)
* loader2/loader.h (GUI_STAGE2_RAM): Add constant for when to do a
graphical install with stage2.img loaded into RAM.
Diffstat (limited to 'loader2/urlinstall.c')
-rw-r--r-- | loader2/urlinstall.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/loader2/urlinstall.c b/loader2/urlinstall.c index c57bd91f0..c344086a0 100644 --- a/loader2/urlinstall.c +++ b/loader2/urlinstall.c @@ -120,7 +120,7 @@ static int loadUrlImages(struct iurlinfo * ui, int flags) { } /* require 128MB for use of graphical stage 2 due to size of image */ - if (FL_TEXT(flags) || totalMemory() < 128000) { + if (FL_TEXT(flags) || totalMemory() < GUI_STAGE2_RAM) { stage2img = "netstg2.img"; if (totalMemory() < 128000) logMessage("URLINSTALL falling back to non-GUI stage2 due to " |