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 > Gentoo > Gentoo User

 
 
LinkBack Thread Tools
 
Old 05-04-2010, 09:56 AM
Hans de Goede
 
Default Tell dracut it should activate the first swap device (#572771)

This is needed for resume from disk (thaw) to work properly. This
also fixes rhel-6 bug 588351.
---
booty/bootloaderInfo.py | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/booty/bootloaderInfo.py b/booty/bootloaderInfo.py
index bed1ee7..2aaac7a 100644
--- a/booty/bootloaderInfo.py
+++ b/booty/bootloaderInfo.py
@@ -126,6 +126,9 @@ class KernelArguments:
if bootDev is not rootDev:
neededDevs = [ rootDev, bootDev ]

+ if self.anaconda.storage.fsset.swapDevices:
+ neededDevs.append(self.anaconda.storage.fsset.swap Devices[0])
+
for s in bootArgs +
self.getDracutStorageArgs(neededDevs) + [
self.anaconda.instLanguage.dracutSetupString(),
--
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 06:00 AM.

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