[Libguestfs] distro checking

Richard W.M. Jones rjones at redhat.com
Mon Dec 3 22:31:35 UTC 2012


On Mon, Dec 03, 2012 at 10:09:27PM +0000, Richard W.M. Jones wrote:
> On Mon, Dec 03, 2012 at 08:36:50PM +0200, Evaggelos Balaskas wrote:
> > NOT a problem,
> > 
> > just a question about distro checking:
> > 
> > the default value is REDHAT,
> > then you check debian (or ubuntu)
> > and then archlinux
> > 
> > why are you using two if statements ?
> 
> It is only used here:

Actually, did I answer that question?  Maybe not ...

The configure script is trying to guess what package names to pass to
febootstrap to build the appliance.  So it tries to guess the distro
using some very simple-minded tests.

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming blog: http://rwmj.wordpress.com
Fedora now supports 80 OCaml packages (the OPEN alternative to F#)
http://cocan.org/getting_started_with_ocaml_on_red_hat_and_fedora




More information about the Libguestfs mailing list