[PATCH 2/2][anaconda] Add custom storage configuration to ksdata. (#929119)
David Lehman
dlehman at redhat.com
Thu Jun 13 01:05:42 UTC 2013
On Wed, 2013-06-12 at 17:13 -0700, Brian C. Lane wrote:
> 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.
Good catch. I'll fix it.
>
> _______________________________________________
> anaconda-patches mailing list
> anaconda-patches at lists.fedorahosted.org
> https://lists.fedorahosted.org/mailman/listinfo/anaconda-patches
More information about the anaconda-patches
mailing list