Re: [rhel6-branch] Don't pass rd_LUKS_UUID to dracut args (#674703)

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

 



Ok guys, disregard this patch. It should get fixed elsewhere.

See https://bugzilla.redhat.com/show_bug.cgi?id=674703


On Wed, 2011-08-17 at 13:15 +0200, Martin Gracik wrote:
> Let dracut find all the luks devices by itself.
> ---
>  booty/bootloaderInfo.py |    3 +--
>  storage/devices.py      |    3 ++-
>  2 files changed, 3 insertions(+), 3 deletions(-)
> 
> diff --git a/booty/bootloaderInfo.py b/booty/bootloaderInfo.py
> index e3b5d34..3f53028 100644
> --- a/booty/bootloaderInfo.py
> +++ b/booty/bootloaderInfo.py
> @@ -104,8 +104,7 @@ class KernelArguments:
>                      s = self.id.network.dracutSetupArgs(d)
>                      args.update(s)
>  
> -        for i in [ [ "rd_LUKS_UUID", "rd_NO_LUKS" ],
> -                   [ "rd_LVM_LV", "rd_NO_LVM" ],
> +        for i in [ [ "rd_LVM_LV", "rd_NO_LVM" ],
>                     [ "rd_MD_UUID", "rd_NO_MD" ],
>                     [ "rd_DM_UUID", "rd_NO_DM" ] ]:
>              if not types.has_key(i[0]):
> diff --git a/storage/devices.py b/storage/devices.py
> index 5a64e70..5add51d 100644
> --- a/storage/devices.py
> +++ b/storage/devices.py
> @@ -1785,7 +1785,8 @@ class LUKSDevice(DMCryptDevice):
>          return self.parents[0]
>  
>      def dracutSetupArgs(self):
> -        return set(["rd_LUKS_UUID=luks-%s" % self.slave.format.uuid])
> +        #return set(["rd_LUKS_UUID=luks-%s" % self.slave.format.uuid])
> +        return set()
>  
> 
>  class LVMVolumeGroupDevice(DMDevice):

-- 
Martin Gracik <mgracik@xxxxxxxxxx>

_______________________________________________
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