Created attachment 890847 [details] haiku XML file This was originally filed in the libosinfo trac bug tracker by kallisti5: As per https://bugzilla.redhat.com/show_bug.cgi?id=1062949. Haiku could be added to libosinfo. The most recent release is "Haiku R1A4.1 (R1 Alpha 4.1) It is handy to have a nightly option as well as the nightly images progress quickly. teuf responded: Could you also provide the output of isoinfo -d -i $haiku_iso so that we can add this information to libosinfo test suite? (this would go in test/isodata/haiku/haikur1a4) Are you able to provide a patch generated with 'git format-patch' in order to make it very easy to add this data with name information, commit log, ... all correct?
kallisti5, see comment #1 above, Christophe requested some additional haiku info
kallisti5@eris iso :( $ isoinfo -d -i Haiku-r1alpha41-x86-disc1.iso CD-ROM is in ISO 9660 format System id: FreeBSD Volume id: bootimg Volume set id: Publisher id: Data preparer id: Application id: MKISOFS ISO 9660/HFS FILESYSTEM BUILDER & CDRECORD CD-R/DVD CREATOR (C) 1993 E.YOUNGDALE (C) 1997 J.PEARSON/J.SCHILLING Copyright File id: Abstract File id: Bibliographic File id: Volume set size is: 1 Volume set sequence number is: 1 Logical block size is: 2048 Volume size is: 1624 El Torito VD version 1 found, boot catalog is in sector 32 Joliet with UCS level 3 found Rock Ridge signatures version 1 found Eltorito validation header: Hid 1 Arch 0 (x86) ID '' Key 55 AA Eltorito defaultboot header: Bootid 88 (bootable) Boot media 3 (2.88MB Floppy) Load segment 0 Sys type 0 Nsect 1 Bootoff 21 33 kallisti5@eris iso :) $ isoinfo -d -i Haiku-r1alpha3-x86-disc1.iso CD-ROM is in ISO 9660 format System id: FreeBSD Volume id: Haiku Volume set id: Publisher id: Data preparer id: Application id: MKISOFS ISO 9660/HFS FILESYSTEM BUILDER & CDRECORD CD-R/DVD CREATOR (C) 1993 E.YOUNGDALE (C) 1997 J.PEARSON/J.SCHILLING Copyright File id: Abstract File id: Bibliographic File id: Volume set size is: 1 Volume set sequence number is: 1 Logical block size is: 2048 Volume size is: 287810 El Torito VD version 1 found, boot catalog is in sector 2682 NO Joliet present Rock Ridge signatures version 1 found Eltorito validation header: Hid 1 Arch 0 (x86) ID '' Key 55 AA Eltorito defaultboot header: Bootid 88 (bootable) Boot media 3 (2.88MB Floppy) Load segment 0 Sys type 0 Nsect 1 Bootoff A7B 2683 kallisti5@eris iso :) $ isoinfo -d -i Haiku-r1alpha2-x86-disc1.iso CD-ROM is in ISO 9660 format System id: FreeBSD Volume id: Haiku Volume set id: Publisher id: Data preparer id: Application id: MKISOFS ISO 9660/HFS FILESYSTEM BUILDER & CDRECORD CD-R/DVD CREATOR (C) 1993 E.YOUNGDALE (C) 1997 J.PEARSON/J.SCHILLING Copyright File id: Abstract File id: Bibliographic File id: Volume set size is: 1 Volume set sequence number is: 1 Logical block size is: 2048 Volume size is: 238075 El Torito VD version 1 found, boot catalog is in sector 2098 NO Joliet present Rock Ridge signatures version 1 found Eltorito validation header: Hid 1 Arch 0 (x86) ID '' Key 55 AA Eltorito defaultboot header: Bootid 88 (bootable) Boot media 3 (2.88MB Floppy) Load segment 0 Sys type 0 Nsect 1 Bootoff 833 2099 kallisti5@eris iso :) $ isoinfo -d -i Haiku-r1alpha1-x86-disc1.iso CD-ROM is in ISO 9660 format System id: FreeBSD Volume id: Haiku Volume set id: Publisher id: Data preparer id: Application id: MKISOFS ISO 9660/HFS FILESYSTEM BUILDER & CDRECORD CD-R/DVD CREATOR (C) 1993 E.YOUNGDALE (C) 1997 J.PEARSON/J.SCHILLING Copyright File id: Abstract File id: Bibliographic File id: Volume set size is: 1 Volume set sequence number is: 1 Logical block size is: 2048 Volume size is: 194485 El Torito VD version 1 found, boot catalog is in sector 1607 NO Joliet present Rock Ridge signatures version 1 found Eltorito validation header: Hid 1 Arch 0 (x86) ID '' Key 55 AA Eltorito defaultboot header: Bootid 88 (bootable) Boot media 3 (2.88MB Floppy) Load segment 0 Sys type 0 Nsect 1 Bootoff 648 1608
These various ISOs all seem to share the same system ID/volume ID (FreeBSD/Haiku), which will make it hard to identify each of them using libosinfo :( The volume ID which is used in the XML file does not match the one in these files. The second os entry in the XML file is "Haiku R1 Nightly", I assume this is an ISO which is refreshed regularly as opposed to an actual released version? It would need the <release-status>snapshot</release-status> tag if it is not a release. The 'id' in the <os> tags also need to be unique.
Created attachment 909078 [details] WIP patch grouping together the data in this bug, and adressing some of the issues which were mentioned
Any chance of this one making it in? Haiku is pretty active, and having libosinfo lowers the bar for people to test in a libvirt environment. I'm available for testing / more information if needed. Thanks!
I suggest mailing https://www.redhat.com/mailman/listinfo/libosinfo with a patch, or with latest iso data, and someone may cook up a patch for you
I've submitted a series with all the Haiku info: https://www.redhat.com/archives/libosinfo/2018-September/msg00066.html
master (osinfo-db): 3abb6f27337ddac627dd7cb217d5a3515487204b ee3957eecf83844e67ed27dcf59d78588d724dd3 d712e5fb9ae6f193c66889920c4786d77f5b52b1 adf8893f60d75a89926609332309910d8076bb52 21a2dc8d94d553ac7f928d49bbddbd565d38d3e3