PDA

View Full Version : mock and external repo


cyrille
13th November 2011, 09:14 PM
hello I'm building rpms to run my GPS (running)
This packages aren't no more on F16, so I've rebuild it.
Works fine (local). But I'd like to put them on my personal repo. So I want to build it with mock.

The second RPM building needs a package (-devel) only present on my repo not on the fedora repo.
So mock don't find it :

ls /var/lib/mock/fedora-16-x86_64/root/etc/yum.repos.d/
fedora.repo fedora-updates.repo fedora-updates-testing.repo


How can I do to add my personal repo to the mock repo ? In the SPEC ? I don't know .

I'd like a little help, please !

---------- Post added at 10:13 PM ---------- Previous post was at 07:19 PM ----------

OK just add theses repo in the mock configuration files - section repo (/etc/mock)

---------- Post added at 10:14 PM ---------- Previous post was at 10:13 PM ----------

OK just add the personnal repos in the mock config file (/etc/mock)

cwickert
24th November 2011, 10:23 AM
These are the repos of the system installed in the chroot, but you need to add them to the configs in /etc/mock first, in your case to /etc/mock/fedora-16-x86_64.cfg.