Page MenuHomeSolus

Update libosinfo to 1.6.0

Authored by livingsilver94 on Oct 7 2019, 12:47 PM.


  • Add API to get the kernel URL argument for an OsinfoOs
  • Improve detection of PPC ISOs
  • Add API to create an OsinfoMedia from location using OsinfoMediaDetectFlags
  • Add API to get whether a media is bootable or not
  • Add OsinfoTree treeinfo properties
  • Add API to identify an OsinfoTree
  • Deprecate API to guess an OsinfoOs from OsinfoTree
  • Add --config-file to osinfo-install-script tool
  • Deprecate --config usage for user & admin passwords on osinfo-install-script tool
  • Add API to generate an install-script and its command-line for OsinfoTree
  • Use libsoup for "http://" & "https://" requests for creating both OsinfoMedia & OsinfoTree
  • Drop GVFS dependency
  • Add OsinfoOs property to OsinfoTree
  • Add API to get an OS from OsinfoTrees & OsinfoImages
  • Add API to set an OS to OsinfoTrees & OsinfoImages
  • Add API to get the OS variants from OsinfoTrees & OsinfoImages
  • Add API to set the installation URL to a OsinfoInstallConfig
  • Add API to get all short-ids from an OsinfoProduct
  • Improve OsinfoLoader in order to fully support multiple short-ids values on an OsinfoProduct
  • Improve osinfo-detect tool's help wording
  • Improve osinfo-detect tool, making it aware of OsinfoTree's OS variants
  • Fix the loading of the architecture value of OsinfoImages
  • Fix usage of application id on media detection
  • Accept "all" as a valid fallback architecture for OsinfoTrees & OsinfoMedias
  • Improve treeinfo check by checking for both ".treeinfo" and "treeinfo" files
  • Explicitly set GVFS as a requirement in the project spec file
  • Move osinfo-db related tests to osinfo-db project
Test Plan

virt-manager correcly uses libosinfo to detect the OS from an ISO image.

Diff Detail

R1806 libosinfo
Automatic diff as part of commit; lint not applicable.
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

livingsilver94 created this revision.Oct 7 2019, 12:47 PM
livingsilver94 requested review of this revision.Oct 7 2019, 12:47 PM
JoshStrobl accepted this revision.Oct 11 2019, 2:32 PM
JoshStrobl added a subscriber: JoshStrobl.

LGTM, thanks!

This revision is now accepted and ready to land.Oct 11 2019, 2:32 PM
This revision was automatically updated to reflect the committed changes.