Re: [PATCH 3/4] loader: update to comply with new database install location

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Aug 05, 2016 at 12:57:16PM +0100, Daniel P. Berrange wrote:
> On Fri, Aug 05, 2016 at 01:42:09PM +0200, Christophe Fergeau wrote:
> > On Fri, Jul 29, 2016 at 11:21:26AM +0100, Daniel P. Berrange wrote:
> > DATA_DIR is then used to lookup the osinfo database. This means that the
> > database and the library have to be built to use the same prefix. I'm
> > wondering if it would make sense to have a .pc file together with the
> > database to help with locating the system database. Probably not worth
> > the complication at this point.
> 
> We have an osinfo-db-paths tool that can report this data, for all
> 3 db locations.  pkg-config isn't a great fit, since it can't report
> the user location as it can't dynamically substitute in env variables

Hmm, ok, all I wanted to point out is that this use of DATADIR was
assuming we used the same DATADIR when installing the database. But
osinfo-db-paths has the same limitation as well. I don't think it's
really important unless we get a bug report about this :)

Christophe

Attachment: signature.asc
Description: PGP signature

_______________________________________________
Libosinfo mailing list
Libosinfo@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libosinfo

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Fedora Users]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux