Re: [PATCH 6/6] Grab repo metadata separately from adding a repo.

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

 



> diff --git a/pyanaconda/packaging/yumpayload.py b/pyanaconda/packaging/yumpayload.py
> index 2583bb6..450f55b 100644
> --- a/pyanaconda/packaging/yumpayload.py
> +++ b/pyanaconda/packaging/yumpayload.py
> @@ -266,6 +266,10 @@ reposdir=/etc/yum.repos.d,/etc/anaconda.repos.d,/tmp/updates/anaconda.repos.d,/t
>                  # if a method/repo was given, disable all default repos
>                  self.disableRepo(repo.id)
>  
> +        self._applyYumSelections()
> +        self.release()
> +
> +    def gatherRepoMetadata(self):
>          # now go through and get metadata for all enabled repos
>          for repo_id in self.repos:
>              repo = self._yum.repos.getRepo(repo_id)

You'll also want a gatherRepoMetadata method on the base class.

And I guess I need to look around at where this needs to be called.
Thanks for looking into it.

- 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