[PATCH 2/2][anaconda] Add custom storage configuration to ksdata. (#929119)

Brian C. Lane bcl at redhat.com
Thu Jun 13 00:13:42 UTC 2013


On Wed, Jun 12, 2013 at 12:22:54PM -0500, David Lehman wrote:
> Add it right before we commit the changes to disk.
> ---
>  pyanaconda/install.py | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/pyanaconda/install.py b/pyanaconda/install.py
> index 7edc63d..43be542 100644
> --- a/pyanaconda/install.py
> +++ b/pyanaconda/install.py
> @@ -132,6 +132,8 @@ def doInstall(storage, payload, ksdata, instClass):
>      with progress_report(_("Setting up the installation environment")):
>          ksdata.addons.setup(storage, ksdata, instClass)
>  
> +    storage.updateKSData()  # this puts custom storage info into ksdata
> +

This probably needs to be wrapped in a check for dirInstall since
storage is never even initialized in that case.

-- 
Brian C. Lane | Anaconda Team | IRC: bcl #anaconda | Port Orchard, WA (PST8PDT)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 482 bytes
Desc: not available
URL: <https://lists.fedorahosted.org/pipermail/anaconda-patches/attachments/20130612/accc9eb0/attachment.sig>


More information about the anaconda-patches mailing list