Notes on building libguestfs on RHEL 5 (was: Re: [fedora-virt] libguestfs on non-Fedora targets)

Richard W.M. Jones rjones at redhat.com
Wed May 6 15:21:44 UTC 2009


On Wed, May 06, 2009 at 03:28:36PM +0100, Richard W.M. Jones wrote:
> (13) make

(20) Get the PATH right so we pick up febootstrap:

  PATH=../febootstrap:$PATH make

(21) "No package augeas-libs available".

/me grumbles about package name changes.

You have to change `-i augeas-libs' to `-i augeas' in
make-initramfs.sh and make-initramfs.sh.in.  Unfortunately this change
is only applicable to RHEL 5, and cannot be made in libguestfs
upstream.  [See attached patch]

(22) "exec: chroot not found"

To workaround this temporarily I do:

  PATH=../febootstrap:/usr/sbin:$PATH make

[That is building away now, more to follow]

-- 
Richard Jones, Emerging Technologies, Red Hat  http://et.redhat.com/~rjones
virt-top is 'top' for virtual machines.  Tiny program with many
powerful monitoring features, net stats, disk stats, logging, etc.
http://et.redhat.com/~rjones/virt-top
-------------- next part --------------
diff --git a/make-initramfs.sh.in b/make-initramfs.sh.in
index 2e3befb..7812e4e 100755
--- a/make-initramfs.sh.in
+++ b/make-initramfs.sh.in
@@ -23,7 +23,7 @@ set -e
 unset CDPATH
 
 modules="
--i augeas-libs
+-i augeas
 -i bash
 -i coreutils
 -i dosfstools


More information about the Fedora-virt mailing list