On Sex, 2017-03-03 at 08:17 +0100, Miroslav Suchý wrote:
Dne 2.3.2017 v 04:42 Sérgio Basto napsal(a):
>
> On Qua, 2017-01-25 at 15:09 +0100, Miroslav Suchý wrote:
> >
> > I welcome any comments.
>
> Can be a little of topic but, may we enable or disable repos in
> command
> line ? or something like this :
>
> mock -r epel-7-x86_64 --install foo --enablerepo=testing
>
> (where testing is defined in /etc/mock/epel-7-x86_64.cfg )
>
> Thanks and best regards.
>
From mock man page:
--disablerepo=REPO
Pass --disablerepo option to package manager to disable
a repository. It can be specified multiple times.
...
--enablerepo=REPO
Pass --enablerepo option to package manager to enable a
repository. It can be specified multiple times.
In other word - yes mock understands this argument.
Fantastic ! it works
Thank you,
--
Sérgio M. B.