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]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux