On Tue, Feb 16, 2010 at 11:18:21PM +0100, Guido Günther wrote:
OK, hope this works ...
[1/6] This adds the 5 patches which I posted upstream some time ago
(
https://www.redhat.com/archives/libguestfs/2009-December/thread.html#00039).
They are rebased to libguestfs 1.0.84, but otherwise unchanged. I use
quilt here to manage the patches, but actually quilt is a bit of a
pain because it doesn't cooperate well with git. I wonder if it is
better to store these as git commits? In any case, they need to be
reworked and go upstream at some point.
[2/6] Change the mirror and repo for Ubuntu.
[3/6] Add a changelog entry. (Not sure if this is necessary or the
'proper' way to do this).
[4/6] 'make check' fails. In libguestfs >= 1.0.85 we will have a
'make quickcheck' rule, but in the meantime just run
libguestfs-test-tool as a quick test that the package is mostly
working.
[5/6] For some reason I don't understand, Ubuntu's Python
site-packages are stored in /usr/lib/python2.5/site-packages, even
though Python _2.6_ is installed. This breaks the configure script,
so we have to patch configure.ac _and_ configure. It's just a single
line change to configure.ac, but the (generated) configure change is
much larger.
[6/6] This patch contains two separate, mostly unrelated changes:
(a) Ubuntu doesn't have libsys-virt-perl. Drop it as a dependency.
(b) Also install virt-inspector, virt-df and virt-cat (might be
applicable to the Debian branch too?)
Rich.
--
Richard Jones, Virtualization Group, Red Hat
http://people.redhat.com/~rjones
libguestfs lets you edit virtual machines. Supports shell scripting,
bindings from many languages.
http://et.redhat.com/~rjones/libguestfs/
See what it can do:
http://et.redhat.com/~rjones/libguestfs/recipes.html