From d1e4bd6341c069e718dd1982ca0e95bbe527b33f Mon Sep 17 00:00:00 2001 From: David Cantrell Date: Jun 29 2010 20:17:41 +0000 Subject: 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. --- diff --git a/pyanaconda/booty/bootloaderInfo.py b/pyanaconda/booty/bootloaderInfo.py index f710a4e..e130c5e 100644 --- a/pyanaconda/booty/bootloaderInfo.py +++ b/pyanaconda/booty/bootloaderInfo.py @@ -118,7 +118,7 @@ class KernelArguments: args = "" bootArgs = [] rootDev = self.anaconda.storage.rootDevice - neededDevs = [ rootDev ] + neededDevs = [ rootDev ] + self.anaconda.storage.swaps if flags.cmdline.get("fips") == "1": bootDev = self.anaconda.storage.mountpoints.get("/boot", rootDev)