Hello, I'm looking into experimenting with oVirt, to use it as a test platform for some of the work we're planning on doing with libvirt. As such - I would like to use a custom built rpm for this build, rather than the one from f9, or ovirt.org Is there a recommended way to integrate a custom package into the build - or am I going to have to invent something to do this? Ben -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://listman.redhat.com/archives/ovirt-devel/attachments/20080905/c94d80bc/attachment.htm>
Ben Guthro wrote:> > Hello, > > I'm looking into experimenting with oVirt, to use it as a test platform > for some of the work we're planning on doing with libvirt. > > As such - I would like to use a custom built rpm for this build, rather > than the one from f9, or ovirt.org > > Is there a recommended way to integrate a custom package into the build > - or am I going to have to invent something to do this?It's pretty easy; the only thing you really have to do is make sure your custom libvirt rpm has a number greater than the one in the ovirt repo, and then add your repo to common/repos.ks.in before you run build-all. Then the automatic yum dependency stuff will pick it up. Be aware; we are carrying some custom patches in the ovirt.org libvirt, so if you use your own, certain things won't work (migration, in particular). Chris Lalancette
On Fri, Sep 05, 2008 at 11:00:14AM -0400, Ben Guthro wrote:> > Hello, > > I'm looking into experimenting with oVirt, to use it as a test platform > for some of the work we're planning on doing with libvirt. > > As such - I would like to use a custom built rpm for this build, rather > than the one from f9, or ovirt.org > > Is there a recommended way to integrate a custom package into the build > - or am I going to have to invent something to do this?We're working on a new build process , splitting up the source repos in GIT into individual modules. As a nice side-effect of that the build process will be able to pull RPMs from a local YUM repository. SO you'd just be able to stuff your custom libvirt RPM into a local YUM repo and it'll be pulled in. I think Perry will be pushing out the new GIT repos very soon Daniel -- |: Red Hat, Engineering, London -o- http://people.redhat.com/berrange/ :| |: http://libvirt.org -o- http://virt-manager.org -o- http://ovirt.org :| |: http://autobuild.org -o- http://search.cpan.org/~danberr/ :| |: GnuPG: 7D3B9505 -o- F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 :|