Skip to content
This repository has been archived by the owner on Oct 21, 2022. It is now read-only.

planex should enable the yum-priorities plugin in mock #244

Open
euanh opened this issue Nov 20, 2015 · 2 comments
Open

planex should enable the yum-priorities plugin in mock #244

euanh opened this issue Nov 20, 2015 · 2 comments

Comments

@euanh
Copy link
Contributor

euanh commented Nov 20, 2015

Mock does not use the priorities plugin by default. To enable it you have to add the following to the mock configuration file:

config_opts['priorities.conf'] = '\n[main]\nenabled=1\n'
@euanh euanh added this to the next-maintenance milestone Nov 20, 2015
@euanh
Copy link
Contributor Author

euanh commented Nov 20, 2015

This creates /etc/yum/plugin.conf.d/priorities.conf but it does not seem to change the behaviour of mock --install , which still chooses the latest version from upstream even if the mock loopback repository has a higher priority.

@euanh euanh closed this as completed Nov 20, 2015
@euanh euanh reopened this Nov 20, 2015
@euanh
Copy link
Contributor Author

euanh commented Jan 26, 2016

Priorities are not favoured by the yum authors. It might be better to look at include and exclude statements in the yum config.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant