[Libosinfo] [libosinfo PATCH 0/3] Make osinfo-detect aware of trees' os variants
Fabiano Fidêncio
fidencio at redhat.com
Fri Apr 12 08:19:51 UTC 2019
This series makes osinfo-detect to behave in the very same way for both
medias and trees when those have a variant set.
With the patches the tree detection of a Fedora Server tree will look
like:
fidencio at laerte ~/src/upstream/libosinfo $ ./tools/osinfo-detect --type=tree https://ftp.fau.de/fedora/linux/releases/29/Server/x86_64/os
Tree is an installer for OS 'Fedora 29 Server'
https://gitlab.com/libosinfo/libosinfo/issues/25
Fabiano Fidêncio (3):
db: Set the os to the detected tree
media,image,tree: Avoid critical errors when getting the os variants
osinfo-detect: Be aware of tree's os variants
osinfo/osinfo_db.c | 4 +++-
osinfo/osinfo_image.c | 4 ++++
osinfo/osinfo_media.c | 4 ++++
osinfo/osinfo_tree.c | 4 ++++
tools/osinfo-detect.c | 30 +++++++++++++++++++++++++++++-
5 files changed, 44 insertions(+), 2 deletions(-)
--
2.20.1
More information about the Libosinfo
mailing list