FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Fedora SELinux Support

 
 
LinkBack Thread Tools
 
Old 05-03-2010, 03:01 PM
Peter Jones
 
Default Copy install.img to install target on http installs.

This ensures that the code in AnacondaBackend.mountInstallImage() will
actually work on all http installs, not just the low memory ones.
---
backend.py | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/backend.py b/backend.py
index 3744e88..32533cb 100644
--- a/backend.py
+++ b/backend.py
@@ -162,6 +162,7 @@ class AnacondaBackend:
self._loopbackFile = "%s%s/rhinstall-install.img" % (anaconda.rootPath,
free[-1][0])
try:
+ log.info("transferring install image to install target")
win = anaconda.intf.waitWindow(_("Copying File"),
_("Transferring install image to hard drive"))
shutil.copyfile(installimg, self._loopbackFile)
@@ -204,8 +205,7 @@ class AnacondaBackend:
# installs that don't use /mnt/stage2 hold the install.img on
# a tmpfs, free this ram if things are tight.
stage2img = "/tmp/install.img"
- if os.path.exists(stage2img) and iutil.memAvailable() < isys.MIN_GUI_RAM:
- log.info("%s exists and low memory" % stage2img )
+ if os.path.exists(stage2img):
# free up /tmp for more memory before yum is called,
if self.mountInstallImage(anaconda, stage2img):
return DISPATCH_BACK
--
1.7.0.1

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

Thread Tools




All times are GMT. The time now is 01:57 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org