Re: Including local repos in a mock build

2020-07-09 Thread Pavel Raiskup
On Thursday, July 9, 2020 2:17:06 PM CEST Sam Varshavchik wrote: > 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]

Including local repos in a mock build

2020-07-09 Thread Sam Varshavchik
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