Re: [PATCH 2/2] Emit a dracut setup string for the root device itself

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

 



Looks good.

On Sat, 2010-01-09 at 18:32 +0100, Hans de Goede wrote:
> We were only emitting dracut setup strings for devices the root device
> depends on, not for the root device itself. This causes non booting systems
> when the root device itself is of a type which needs a setup string
> (such as a regular mdraid array).
> ---
>  booty/bootloaderInfo.py |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/booty/bootloaderInfo.py b/booty/bootloaderInfo.py
> index 9ba6a83..a96f795 100644
> --- a/booty/bootloaderInfo.py
> +++ b/booty/bootloaderInfo.py
> @@ -91,7 +91,7 @@ class KernelArguments:
>          types = {}
>          root = self.id.storage.rootDevice
>          for d in self.id.storage.devices:
> -            if not root.dependsOn(d):
> +            if d is not root and not root.dependsOn(d):
>                  continue
>  
>              s = d.dracutSetupString()


_______________________________________________
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