Bug 1211796

Summary: libosinfo doesn't detect Fedora Server media as 'fedora-unknown'
Product: [Fedora] Fedora Reporter: Cole Robinson <crobinso>
Component: libosinfoAssignee: Daniel Berrangé <berrange>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 23CC: berrange, cfergeau, virt-maint, zeenix
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-11-05 17:42:12 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Cole Robinson 2015-04-14 22:48:57 UTC
$ osinfo-detect Fedora-Server-DVD-x86_64-22_Beta.iso 
Media is bootable.

Compared to

$ osinfo-detect Fedora-Live-Workstation-x86_64-22_Beta-1.iso 
Media is bootable.
Media is an installer for OS 'Fedora'
Media is live media for OS 'Fedora'


So we need to extend fedora-unknown's regex to cover the Fedora server media:

Volume id: Fedora-22_B-x86_64

Additionally it should cover the aarch64 media as well:

Volume id: Fedora-S-22-aarch64

I'll provide patches, just want to track this for the test day

Comment 1 Cole Robinson 2015-11-04 21:16:29 UTC
I never got to this, but it's still relevant for f23 libosinfo and f23 server media...

Comment 2 Christophe Fergeau 2015-11-05 09:36:34 UTC
This seems to be working for me:


$ LC_ALL=C /usr/bin/osinfo-detect /home/teuf/redhat/isos/Fedora-Server-DVD-x86_64-23.iso 
Media is bootable.
Media is an installer for OS 'Fedora'

$ rpm -qf /usr/bin/osinfo-detect
libosinfo-0.2.12-2.fc23.x86_64

Comment 3 Cole Robinson 2015-11-05 17:42:12 UTC
Oops, I was testing the wrong DVD!