[PATCH master/rhel7] Add parents to ksdata for btrfs subvols (#1072060).

Chris Lumens clumens at redhat.com
Thu Jul 24 19:27:10 UTC 2014


> Without this, the resulting kickstart file will not be valid for anaconda due
> to a lack of parents on any subvol line.
> ---
>  blivet/devices.py | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/blivet/devices.py b/blivet/devices.py
> index 1028817..0110a46 100644
> --- a/blivet/devices.py
> +++ b/blivet/devices.py
> @@ -5363,6 +5363,7 @@ class BTRFSSubVolumeDevice(BTRFSDevice):
>          data.subvol = True
>          data.name = self.name
>          data.preexist = self.exists
> +        data.devices = [self.parents[0]]

Nevermind - this isn't quite this simple.

- Chris


More information about the anaconda-patches mailing list