[Pkg-xen-devel] [patch] Packages ocaml libraries

Ian Campbell ijc at hellion.org.uk
Mon Oct 24 12:30:39 UTC 2011


On Mon, 2011-10-24 at 20:13 +0800, Thomas Goirand wrote:
> On 10/24/2011 04:56 PM, Ian Campbell wrote:
> > I wonder...
> > 
> > The stuff under /usr/lib/xen-X.Y is registered with the Debian
> > alternatives infrastructure as /usr/lib/xen-default which is supposed to
> > pickup the correct version for what you are actually running. One option
> > might be to place the real ocaml files in /usr/lib/xen-X.Y but also
> > install symlinks in /usr/lib/ocaml (or whatever) which point
> > at /usr/lib/xen-default/lib/ocaml. Hopefully that would allow ocaml
> > stuff to compile without modification in the common case of wanting to
> > compile against the current hypervisor and be sufficient for most of
> > what we need.
> > 
> > Ian.
> 
> I still want to know... What's the point of the /usr/lib/xen-X.Y thing?
> Why do we need to install multiple hypervisor versions?

I'd have thought it was pretty obvious and it's basically the same
reasons you might want to co-install multiple kernels, i.e. it eases the
upgrade path, makes it easier to flip between multiple versions or
revert back if there is a problem with a newer version etc. That last
one is actually quite an important safety net from an end user
experience point of view.

Ian.




More information about the Pkg-xen-devel mailing list