On 07/06/2012 06:06 PM, David Nalley wrote:
On Fri, Jul 6, 2012 at 11:08 AM, Wido den Hollander <[email protected]> wrote:
Since the RBD thread was spinning out of control I figured it would be best
to start a new thread:

"Wido: perhaps you could produce some packages for testing? at least .debs?


I just sent a patch[0] out to the libvirt mailinglist.

I also pushed to code to my Github account[1] for those who want to test it.

Clone the repo and run:

$ ant deb

That's all.

Wido

[0] https://www.redhat.com/archives/libvir-list/2012-July/msg00978.html
[1] https://github.com/wido/libvirt-java/commit/4c8d88fe8765f5d332db93a55b27747cb9acd4d8

--David"

I've been doing that today. I can now generate a libvirt-java debian package
which should work on Debian and Ubuntu. I'll test it further and sent
patches to libvirt so they can add it to the libvirt-java repo.

We we could provide a deb, libvirt already provides an RPM and let the
cloud-agent depend on it?

That way we'll never ship the JAR inside the cloud-agent package and we can
simply but it online.

For Debian/Ubuntu I'm still voting for a APT repository where people can
download/install the CloudStack packages from. When they install
'cloud-agent' they will simply also download libvirt-java from that same
repository.

I can than try to get the Deb into Debian and Ubuntu and David, you might
get it into Fedora?

Would this work?

Wido


So a couple of things:

* CloudStack (in its current form) won't build without libvirt-java.

This means either:
a. CloudStack declares libvirt-java to be a system requirement
b. We break out KVM support and make it an optional/non-default part
of the build

Both of the above result in cloud-libvirt.jar being removed from the repo.

Take a look at:
http://www.apache.org/legal/3party.html   (I think we will become very
well versed in this particular page over the next month or so)

--David


Reply via email to