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.

-- 
Miroslav Suchy, RHCA
Red Hat, Senior Software Engineer, #brno, #devexp, #fedora-buildsys
_______________________________________________
buildsys mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to