Re: [PATCH 2/2] Don't select base packages and groups when going back.

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

 



> diff --git a/backend.py b/backend.py
> index 6ca14a8..4ec5e8c 100644
> --- a/backend.py
> +++ b/backend.py
> @@ -303,9 +303,13 @@ def doInstall(anaconda):
>  def doBasePackageSelect(anaconda):
>      if anaconda.ksdata:
>          anaconda.backend.resetPackageSelections()
> +        if anaconda.dir == DISPATCH_BACK:
> +            return DISPATCH_BACK
>          kickstart.selectPackages(anaconda)
>      elif anaconda.displayMode != 't':
>          anaconda.backend.resetPackageSelections()
> +        if anaconda.dir == DISPATCH_BACK:
> +            return DISPATCH_BACK
>          anaconda.instClass.setPackageSelection(anaconda)
>          anaconda.instClass.setGroupSelection(anaconda)

Why do you want to reset but not select?  This will have the effect that
if you make some package selections, go forward, and go back then your
previous selections will be forgotten.  You won't even be set back to
the default - you'll just have nothing selected.

- Chris

_______________________________________________
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