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 Development

 
 
LinkBack Thread Tools
 
Old 11-30-2010, 07:09 PM
David Lehman
 
Default swapoff -a is only needed for livecd, so only do it for livecd.

---
pyanaconda/packages.py | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/pyanaconda/packages.py b/pyanaconda/packages.py
index 064ba17..2765630 100644
--- a/pyanaconda/packages.py
+++ b/pyanaconda/packages.py
@@ -93,7 +93,9 @@ def turnOnFilesystems(anaconda):
return DISPATCH_NOOP

if not anaconda.upgrade:
- if not anaconda.storage.fsset.active:
+ if (flags.livecdInstall and
+ not flags.imageInstall and
+ not anaconda.storage.fsset.active):
# turn off any swaps that we didn't turn on
# needed for live installs
iutil.execWithRedirect("swapoff", ["-a"],
--
1.7.3.2

_______________________________________________
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 10:00 AM.

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