Dne 2.3.2017 v 19:04 Sérgio Basto napsal(a):
On Qui, 2017-03-02 at 09:40 +0100, Vít Ondruch 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 (*)off topic but, may we enable or disable repos in
>> 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.
> You can use "--pm-cmd" to achieve this ...
Can you exemplify ? please I already poke pm-cmd while ago and never
found the solution .
Sometimes I'd like install packages from a testing repo or a copr repo
, and I have to use a manual process like download packages and install
from file system ...
Whatever you write behing --pm-cmd is treated as YUM/DNF commands, e.g.:
--pm-cmd install foo == dnf install foo
Sometimes there is collision with mock parameters, so it might be handy
to use double dash to separate the YUM/DNF parameters, e.g.:
mock --pm-cmd -- install foo