[PATCH] Make sure swap devices are included in dracut args (#607646)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list


[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux