[Libosinfo] [osinfo-db/libosinfo PATCH 0/6] Add support to images

Richard W.M. Jones rjones at redhat.com
Thu Nov 1 11:06:11 UTC 2018


On Thu, Nov 01, 2018 at 10:09:03AM +0000, Daniel P. Berrangé wrote:
> ie essentially encode the file content probing rules that libguestfs
> has, as osinfo DB information, so that it becomes user extendable in
> the normal way we do for ISO/install tree. Admittedly the image probing
> rules are significantly more complicated than ISO/install tree probiing
> rules, but I think it is doable if we wanted to. It ultimately just
> comes down to a (very large) set of file content matches.

It's rather more complicated than that.  It's definitely not true to
say that libguestfs is just doing some regexps over files.

Also I think this duplicates the functionality of other tools (notably
facter, but there are others).  Just tell people to use facter if they
are running "in guest".

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming and virtualization blog: http://rwmj.wordpress.com
Fedora Windows cross-compiler. Compile Windows programs, test, and
build Windows installers. Over 100 libraries supported.
http://fedoraproject.org/wiki/MinGW




More information about the Libosinfo mailing list