<div class="gmail_quote">On Thu, Dec 9, 2010 at 1:30 AM, Richard W.M. Jones <span dir="ltr"><<a href="mailto:rjones@redhat.com">rjones@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="im">On Thu, Dec 09, 2010 at 12:08:23AM -0700, Thomas S Hatch wrote:<br>
> I have febootstrap ported to and working on Arch, but there are a few<br>
> packages missing from the main Arch repos, and the packages need to be in<br>
> the main repos for the febootstrap sequence to work.<br>
> So I have a few quick questions, first,<br>
> how well does the supermin app work, without augeas,<br>
> are zfs, gfs and hfs used only for mounting those filesystems inside the vm<br>
> image,<br>
<br>
</div>It's possible to use libguestfs without various features compiled in.<br>
These features can be detected at runtime by programs using the API:<br>
<br>
<a href="http://libguestfs.org/guestfs.3.html#availability" target="_blank">http://libguestfs.org/guestfs.3.html#availability</a><br>
<br>
The lack of filesystem support just means that programs will encounter<br>
an error when they try to mount or create those filesystems.  For the<br>
ones you mentioned it's not really important.<br>
<br>
Augeas (lack of) is going to be a problem: currently the inspection<br>
API will fail if Augeas is not available in the appliance.  This is<br>
basically a bug in the inspection API:<br>
<br>
<a href="http://git.annexia.org/?p=libguestfs.git;a=blob;f=src/inspect.c;h=8b21026830d9a6711cca6220369a040b52da23a5;hb=HEAD#l2181" target="_blank">http://git.annexia.org/?p=libguestfs.git;a=blob;f=src/inspect.c;h=8b21026830d9a6711cca6220369a040b52da23a5;hb=HEAD#l2181</a><br>

<br>
but instead of fixing this I think it's better to package Augeas since<br>
it's a tremendously useful tool for distros to include.<br>
<div class="im"><br>
> and I noticed that there is an option to load a mirror for fedora to use<br>
> when building, can that option be used to pass data into the package manager<br>
> handler?<br>
<br>
</div>I believe this option should be gone with the latest building code.<br>
Maybe I missed something?<br>
<br>
We use the ./configure --with-febootstrap-yum-config option when<br>
building on Fedora builders, where there is no network access.  The<br>
way it works is convoluted, but I suggest starting here:<br>
<br>
<a href="http://pkgs.fedoraproject.org/gitweb/?p=libguestfs.git;a=blob;f=libguestfs.spec;h=33f588678054f2e3408042db2f6f9a4512e80004;hb=HEAD#l429" target="_blank">http://pkgs.fedoraproject.org/gitweb/?p=libguestfs.git;a=blob;f=libguestfs.spec;h=33f588678054f2e3408042db2f6f9a4512e80004;hb=HEAD#l429</a><br>

<div class="im"><br>
> In which case I can solve everything by adding a secondary binary<br>
> repository location to the package build.<br>
><br>
> But beside these problems, the pacman package handler is working!<br>
<br>
</div>Excellent, look forward to the patches :-)<br>
<br>
Rich.<br>
<font color="#888888"><br>
--<br>
Richard Jones, Virtualization Group, Red Hat <a href="http://people.redhat.com/~rjones
virt-top" target="_blank">http://people.redhat.com/~rjones<br>
virt-top</a> is 'top' for virtual machines.  Tiny program with many<br>
powerful monitoring features, net stats, disk stats, logging, etc.<br>
<a href="http://et.redhat.com/~rjones/virt-top" target="_blank">http://et.redhat.com/~rjones/virt-top</a><br>
</font></blockquote></div><br><div>I found a better way! Here are the patches, one for febootstrap and one for the packages list in libguestfs.</div><div><br></div><div>One quick question about the packages, where do I pass the option to use the ArchLinux section in the packages list?</div>
<div><br></div><div>Also, thanks for being patient with me and helping me get this put together. :)</div><div><br></div><div>-Tom</div>