Bug 1092627 - PATCH: Add Haiku OS support to libosinfo
Summary: PATCH: Add Haiku OS support to libosinfo
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Virtualization Tools
Classification: Community
Component: libosinfo
Version: unspecified
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Fabiano Fidêncio
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-04-29 15:20 UTC by Cole Robinson
Modified: 2018-09-11 20:41 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-09-11 20:41:38 UTC
Embargoed:


Attachments (Terms of Use)
haiku XML file (1.87 KB, text/plain)
2014-04-29 15:20 UTC, Cole Robinson
no flags Details
WIP patch grouping together the data in this bug, and adressing some of the issues which were mentioned (8.36 KB, patch)
2014-06-16 10:37 UTC, Christophe Fergeau
no flags Details | Diff

Description Cole Robinson 2014-04-29 15:20:46 UTC
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?

Comment 1 Cole Robinson 2014-04-29 15:21:52 UTC
kallisti5, see comment #1 above, Christophe requested some additional haiku info

Comment 2 Alexander von Gluck IV 2014-06-15 14:26:08 UTC
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

Comment 3 Christophe Fergeau 2014-06-16 10:36:36 UTC
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.

Comment 4 Christophe Fergeau 2014-06-16 10:37:37 UTC
Created attachment 909078 [details]
WIP patch grouping together the data in this bug, and adressing some of the issues which were mentioned

Comment 6 Alexander von Gluck IV 2017-05-16 20:37:01 UTC
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!

Comment 7 Cole Robinson 2017-05-16 21:19:48 UTC
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

Comment 8 Fabiano Fidêncio 2018-09-10 06:14:48 UTC
I've submitted a series with all the Haiku info:
https://www.redhat.com/archives/libosinfo/2018-September/msg00066.html

Comment 9 Fabiano Fidêncio 2018-09-11 20:41:38 UTC
master (osinfo-db):
 3abb6f27337ddac627dd7cb217d5a3515487204b
 ee3957eecf83844e67ed27dcf59d78588d724dd3
 d712e5fb9ae6f193c66889920c4786d77f5b52b1
 adf8893f60d75a89926609332309910d8076bb52
 21a2dc8d94d553ac7f928d49bbddbd565d38d3e3


Note You need to log in before you can comment on or make changes to this bug.