[Libosinfo] [osinfo-db PATCH 0/4] osinfo-db: Add firmware support to <os/>

Cole Robinson crobinso at redhat.com
Mon Jun 3 22:33:02 UTC 2019


On 5/7/19 9:06 AM, Fabiano Fidêncio wrote:
> This patch set adds support to advertising the firmware types an OS
> supports and follows the same naming used by libvirt.
> 
> For now, I've decided to not yet start decorating all x86_64/i686 OSes
> we have in osinfo-db with <firmware arch="x86_64|i686" type="bios"/>,
> but it may be needed in the future.
> 
> Also, this patch set only adds info about UEFI support for Fedora and
> RHEL (well, Silverblue and CentOS will get it for free). So, it'll have
> to be expanded later on.
> 
> Fabiano Fidêncio (4):
>   schema: Add firmware support to <os/>
>   test: Add firmware related tests
>   fedora: Add info about UEFI support
>   rhel: Add info about UEFI support
> 
>  data/os/fedoraproject.org/fedora-19.xml.in |  3 +++
>  data/os/redhat.com/rhel-6.9.xml.in         |  3 +++
>  data/os/redhat.com/rhel-7.0.xml.in         |  2 ++
>  data/os/redhat.com/rhel-8.0.xml.in         |  2 ++
>  data/schema/osinfo.rng.in                  | 26 +++++++++++++++++++++
>  tests/osinfo.py                            | 17 ++++++++++++++
>  tests/test_firmwares.py                    | 27 ++++++++++++++++++++++
>  tests/util.py                              | 11 ++++++++-
>  8 files changed, 90 insertions(+), 1 deletion(-)
>  create mode 100644 tests/test_firmwares.py
> 

What's the criteria for 'support' status here, just officially
advertised in distro docs? If so, do you have links? Quick googling
didn't give me much for fedora and rhel

How do you envision we would advertise something like secureboot
support... as its own type='efi-secureboot', an extra attribute, a sub
element, etc. For that matter how does libvirt new firmware= support
handle it?

- Cole




More information about the Libosinfo mailing list