[Libosinfo] [libosinfo PATCH 0/6] A few fixes/improvements related to media detect
Fabiano Fidêncio
fidencio at redhat.com
Mon Jun 24 13:16:44 UTC 2019
This series includes a few fixes to media detect including:
- Using case insensitive compares for the "/ppc/bootinfo.txt" file;
- Adding new APIs to avoid erroring out when a media is not bootable;
- Adding new APIs to check whether a media is bootable or not;
There is still no change on osinfo-detect, but that may come later in
case these patches are accepted.
Related: https://gitlab.com/libosinfo/libosinfo/issues/15
Fabiano Fidêncio (6):
media: Ignore case when detecting bootable ppc ISO
media: Add OsinfoMediaDetectFlags
media: Add create_from_location_with_flags* APIs
media: Rewrite create_from_location* functions
media: Only error out if a media is not bootable when REQUIRE_BOOTABLE
flag is passed
media: Add _is_bootable() API
osinfo/libosinfo.syms | 6 ++
osinfo/osinfo_media.c | 126 ++++++++++++++++++++++++++++++++++++++----
osinfo/osinfo_media.h | 25 +++++++++
3 files changed, 145 insertions(+), 12 deletions(-)
--
2.21.0
More information about the Libosinfo
mailing list