On 26/10/17 04:52, Nico Kadel-Garcia wrote:
I've done the "build the dependency chain" work myself with various
projects I publish to github. The current problem I have is that for
recent Fedora releases, I've not worked out how to add the local yum
or dnf repositories to the "mock" configurations I've been working
with for building the full chain locally, and being able to build them
in mock. Does anyone have hooks or examples of how to do so for recent
Fedora releases?
Just edit the relevant config file in /etc/mock and add it? So for
example my local repo for f27 is defined by adding this block just
before the """ marker at the end:
[compton]
name=compton
baseurl=http://packages.compton.nu/fedora-27/x86_64/
metadata_expire=30
Personally what I actually do is to create
/etc/mock/compton-27-x86_64.cfg as a copy of
/etc/mock/fedora-27-x86_64.cfg with that added to avoid conflicts on
mock upgrades and then use the appropriate switch to mock/fedpkg to
select that config.
Tom
--
Tom Hughes (tom@xxxxxxxxxx)
http://compton.nu/
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx