Re: how to use koji

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

 



Am Samstag, den 16.01.2010, 14:23 +0100 schrieb Michal:

> what to do now????

Koji is a client-server-system and to use it, you ether have to setup a
kijo server of your own or become a Fedora packager to use Fedora's koji
server.

I suggest to use mock instead. Mock will rebuild packages locally in a
chroot. Just download the F13 srpm packages you need from koji and then
rebuild them them locally.

mock -r fedora-12-i686 your-package-1.0.src.rpm

The chroots are defined in /etc/mock/. Please keep in mind that the in
order to rebuild foo against the new bar package, you need to have it
available in koji. So you put the new bar package into a folder and run
createrepo in that folder to generate the metadata. Then you make that
repo available for koji by adding it to /etc/mock/fedora-12-i386.cfg:

[my-mock]
name=my-mock
baseurl=file:///home/michal/my-repo
enabled=1

Beware, the dependency chain might be very long and you need to do the
steps again after every build that is required be the next on in the
chain.

When you are done, you can add your "my-mock" repo to yum and update the
packages.

Regards,
Christoph

-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe: https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines

[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux