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

Re: [PATCH 6/6] Use the LUKS UUID, not the filesystem UUID for dracut. (#561373)



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Ack.

On Mon, 15 Feb 2010, David Lehman wrote:

---
storage/devices.py |    2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/storage/devices.py b/storage/devices.py
index ad13da9..9584055 100644
--- a/storage/devices.py
+++ b/storage/devices.py
@@ -1647,7 +1647,7 @@ class LUKSDevice(DMCryptDevice):
        return self.parents[0]

    def dracutSetupString(self):
-        return "rd_LUKS_UUID=luks-%s" % self.format.uuid
+        return "rd_LUKS_UUID=luks-%s" % self.slave.format.uuid


class LVMVolumeGroupDevice(DMDevice):


- -- David Cantrell <dcantrell redhat com>
Red Hat / Honolulu, HI

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iEYEARECAAYFAkt6yQkACgkQ5hsjjIy1VknImACgjetqPE6KscjuC+p2CSWDa55B
QSwAnRYeco11oAPXVokXktYizVxDgwop
=ltp3
-----END PGP SIGNATURE-----


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