[libosinfo PATCH 0/6] A few fixes/improvements related to media detect

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

 



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

_______________________________________________
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