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 > Ubuntu > Edubuntu User

 
 
LinkBack Thread Tools
 
Old 06-29-2010, 07:46 PM
David Cantrell
 
Default Make sure swap devices are included in dracut args (#607646)

dracut needs swap devices specified in rd_* arguments for power
management to know what to use for hibernate.
---
booty/bootloaderInfo.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/booty/bootloaderInfo.py b/booty/bootloaderInfo.py
index 21fc2d3..7647fb8 100644
--- a/booty/bootloaderInfo.py
+++ b/booty/bootloaderInfo.py
@@ -118,7 +118,7 @@ class KernelArguments:
args = ""
bootArgs = []
rootDev = self.id.storage.rootDevice
- neededDevs = [ rootDev ]
+ neededDevs = [ rootDev ] + self.id.storage.swaps

if flags.cmdline.get("fips") == "1":
bootDev = self.id.storage.mountpoints.get("/boot", rootDev)
--
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 11:32 AM.

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