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: pgpINhtBkRQAI.pgp
Description: PGP signature

_______________________________________________
devel mailing list -- [email protected]
To unsubscribe send an email to [email protected]
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/[email protected]

Reply via email to