Including local repos in a mock build

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

 



Is there a better way to include local repos in mock builds than doing something like this in my /etc/mock/default.cfg:

include('fedora-32-x86_64.cfg')

config_opts['dnf.conf'] = config_opts['dnf.conf'] + """

[my]
name=My repository
baseurl=http://jack/repos/$releasever/$basearch
enabled=1
gpgcheck=0
metadata_expire=60

"""


I might be misremembering something, but I'm pretty sure that at some point in the past mock would read /etc/yum/repos.d, and grab stuff from my local repos without doing anything like that.

Attachment: pgpqLoVkPhg87.pgp
Description: PGP signature

_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [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