[Libguestfs] [PATCH][RFC] launch: appliance is optional

Richard W.M. Jones rjones at redhat.com
Mon Oct 8 18:54:08 UTC 2012


On Mon, Oct 08, 2012 at 08:50:47PM +0200, Olaf Hering wrote:
> On Mon, Oct 08, Richard W.M. Jones wrote:
> 
> > But out of interest, how are you creating this appliance?  I thought
> > we'd ripped out support for old-style appliances from the rest of the
> > toolchain ...
> 
> I use mkinitrd to pull in all tools and run guestfsd instead of
> /sysroot/sbin/init. This allows me to build the package automated as
> unprivileged user in the buildsystem. Creating a loop file requires
> root, which is cumbersome in the openSuSE buildservice.
> 
> In src/appliance I noticed that initramfs.<arch>.img etc. is obsolete,
> will it be removed for 1.20?

No we shouldn't remove this, I guess I'll have to make this work.

There are quite a lot of assumptions in the libvirt backend that
appliance != NULL, but we can fix them ...

On a cursory look, the ordinary (appliance) backend handles
appliance == NULL fine.

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
New in Fedora 11: Fedora Windows cross-compiler. Compile Windows
programs, test, and build Windows installers. Over 70 libraries supprt'd
http://fedoraproject.org/wiki/MinGW http://www.annexia.org/fedora_mingw




More information about the Libguestfs mailing list