Hilko Bengen
2013-Jan-17 22:59 UTC
[Libguestfs] A few patches needed for libguestfs 1.20+ on current Debian systems
Here's what I needed to build and run 1.20 on Debian/unstable. Perhaps the libcap2 dependency in the packagelist should only be added if libcap has actually been used in building guestfsd...
Hilko Bengen
2013-Jan-17 22:59 UTC
[Libguestfs] [PATCH 1/3] erlang: fix bindtests for out-of-tree build
--- erlang/run-bindtests | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/erlang/run-bindtests b/erlang/run-bindtests index 1a6aea5..17db79e 100755 --- a/erlang/run-bindtests +++ b/erlang/run-bindtests @@ -19,5 +19,5 @@ set -e # The output is sent to bindtests.tmp. -./bindtests.erl +$srcdir/bindtests.erl diff -u $srcdir/../bindtests bindtests.tmp -- 1.7.10.4
Hilko Bengen
2013-Jan-17 22:59 UTC
[Libguestfs] [PATCH 2/3] inspector: Fix tests for out-of-tree builds
--- inspector/test-xmllint.sh.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inspector/test-xmllint.sh.in b/inspector/test-xmllint.sh.in index c156bd2..602823f 100755 --- a/inspector/test-xmllint.sh.in +++ b/inspector/test-xmllint.sh.in @@ -25,5 +25,5 @@ if [ -z "$EXAMPLE_XML" ]; then fi for f in $EXAMPLE_XML; do - @XMLLINT@ --noout --relaxng $srcdir/virt-inspector.rng $f + @XMLLINT@ --noout --relaxng $srcdir/virt-inspector.rng $srcdir/$f done -- 1.7.10.4
Hilko Bengen
2013-Jan-17 22:59 UTC
[Libguestfs] [PATCH 3/3] Fix packagelist for current Debian-based systems
- ntfsprogs has been merged with ntfs-3g -- and it has been an empty transitional package for some time now. - libyajl is needed for ldm - libcap2 is needed for guestfs --- appliance/packagelist.in | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/appliance/packagelist.in b/appliance/packagelist.in index 9b0cc09..1afaff9 100644 --- a/appliance/packagelist.in +++ b/appliance/packagelist.in @@ -62,14 +62,15 @@ hfsplus iproute libaugeas0 + libcap2 libhivex0 libyajl2 linux-image nilfs-tools ntfs-3g - ntfsprogs openssh-client reiserfsprogs + sysvinit /* for /sbin/reboot */ ufsutils vim-tiny xz-utils -- 1.7.10.4
Richard W.M. Jones
2013-Jan-18 06:57 UTC
Re: [Libguestfs] A few patches needed for libguestfs 1.20+ on current Debian systems
On Thu, Jan 17, 2013 at 11:59:19PM +0100, Hilko Bengen wrote:> Here's what I needed to build and run 1.20 on Debian/unstable. > > Perhaps the libcap2 dependency in the packagelist should only be added > if libcap has actually been used in building guestfsd...By coincidence Skippy VonDrake just found this bug and I added a patch for it: https://github.com/libguestfs/libguestfs/commit/24c4178749817639ecf9ad61f7de2b0f90f6ba3b It's fine to unconditionally list libcap{,2} in appliance/packagelist.in. Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones virt-top is 'top' for virtual machines. Tiny program with many powerful monitoring features, net stats, disk stats, logging, etc. http://people.redhat.com/~rjones/virt-top
Richard W.M. Jones
2013-Jan-18 07:03 UTC
Re: [Libguestfs] A few patches needed for libguestfs 1.20+ on current Debian systems
On Thu, Jan 17, 2013 at 11:59:19PM +0100, Hilko Bengen wrote:> Here's what I needed to build and run 1.20 on Debian/unstable. > > Perhaps the libcap2 dependency in the packagelist should only be added > if libcap has actually been used in building guestfsd...Ah I see that you mentioned yesterday you'd already found the libcap problem. It's fixed upstream now so thanks! I've pushed all three patches. Thanks, 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://libguestfs.org
Reasonably Related Threads
- [PATCH 1/3] out-of-tree build: daemon
- [PATCH] packagelist: add initviocons package on SUSE
- [PATCH 0/3] libguestfs: improve OpenSUSE support
- [PATCH 0/2] tests: simpler way to use configure results
- [PATCH v2 0/4] New API: lvm_scan, deprecate vgscan (RHBZ#1602353).