[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[fedora-virt] Re: Spec weirdness



On Wed, Aug 12, 2009 at 04:56:15PM -0700, Jesse Keating wrote:
> So first question, why isn't the chroot that mock created for you good
> enough?  Why do you have to create a second chroot?

We have to put custom files (configuration, /init etc.) into our
chroot, because the appliance we build is different from the host
under which it runs.  We also rm -rf large parts of the appliance in
order to make it small enough to boot in memory.

Also we don't just build in mock.  In fact that is the rare case.
Most people build using ./configure && make.  And of course we support
Debian etc.

You can see how we build the appliance here:

http://git.et.redhat.com/?p=libguestfs.git;a=blob;f=appliance/make.sh.in;hb=HEAD
http://git.et.redhat.com/?p=libguestfs.git;a=blob;f=appliance/update.sh.in;hb=HEAD

Rich.

-- 
Richard Jones, Emerging Technologies, Red Hat  http://et.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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]