Re: COPR repo in mock?

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

 



On Tue, Jan 19, 2016 at 4:48 AM, Miroslav Suchy <msuchy@xxxxxxxxxx> wrote:
> Dne 19.1.2016 v 06:51 Dmitrij S. Kryzhevich napsal(a):
>> Like any others. Provide information about repo to /etc/mock/YOURCONFIG.cfg
>> In most cases in would be: /etc/mock/default.cfg
>>
>> You could find details for your particular copr repo in file with
>> corresponding name in /etc/yum.repos.d dir if this repo already
>> worldwide enabled in your system
>
> No need to put anything to /etc/mock. You can put it in your working
> directory and not mess your /etc directory.
>
> So:
> cp /etc/mock/fedora-23-x86_64.cfg ./myconfig.cfg
> vim ./myconfig.cfg

This has never worked. Please re-read the manual page for "mock"  The
"-r config" option finds "/etc/mock/config.cfg".

There are actually some very real security reasons not to let mock
pull arbitrary configuration files from local directories. It would
provide way, way too much power to the local developer to build
arbitrary chroot cages on the mock server, and to arbitrarily apply
any build configuration they want, including setting the relevant mock
cache and build directories to "/" and completely thrashing the
server.
--
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxxx
http://lists.fedoraproject.org/admin/lists/devel@xxxxxxxxxxxxxxxxxxxxxxx




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux