rawhide report: 20100216 changes

Richard W.M. Jones rjones at redhat.com
Thu Feb 18 16:51:28 UTC 2010


On Thu, Feb 18, 2010 at 04:58:05PM +0100, Kevin Kofler wrote:
> Richard W.M. Jones wrote:
> > It really does require those exact files.  It's not linking, it's
> > composing an appliance on the fly using files taken from the host:
> > 
> > http://rwmj.wordpress.com/2009/10/22/supermin-appliance-now-in-febootstrap/
> 
> Why don't you just have it use wildcards to select the files to copy in,
> e.g. libntfs-3g.so.*, instead of hardcoding the exact names? That way you
> wouldn't have to care about this kind of file deps at all, it'd just work
> always.

In the file ("hostfiles") that tells us what to copy in from the host
system we do use wildcards.  But we only wildcard the minor and
release numbers, not the soname major number, since an soname bump
probably implies some sort of major change which requires human
attention.

You can see how it works from this script:

http://git.annexia.org/?p=libguestfs.git;a=blob;f=appliance/supermin-split.sh.in;h=c710dc3b6476cbaf0f7aad6e9b5db261630b7186;hb=HEAD#l72

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 devel mailing list