[Libosinfo] [osinfo-db PATCH 2/2] openbsd6.4: Add entry

Fabiano Fidêncio fidencio at redhat.com
Mon Apr 8 16:04:23 UTC 2019


Signed-off-by: Fabiano Fidêncio <fidencio at redhat.com>
---
 data/os/openbsd.org/openbsd-6.4.xml.in        | 35 +++++++++++++++++++
 .../openbsd/openbsd6.4/openbsd-6.4-amd64.txt  | 29 +++++++++++++++
 .../openbsd/openbsd6.4/openbsd-6.4-i386.txt   | 29 +++++++++++++++
 3 files changed, 93 insertions(+)
 create mode 100644 data/os/openbsd.org/openbsd-6.4.xml.in
 create mode 100644 tests/isodata/openbsd/openbsd6.4/openbsd-6.4-amd64.txt
 create mode 100644 tests/isodata/openbsd/openbsd6.4/openbsd-6.4-i386.txt

diff --git a/data/os/openbsd.org/openbsd-6.4.xml.in b/data/os/openbsd.org/openbsd-6.4.xml.in
new file mode 100644
index 0000000..f2a216c
--- /dev/null
+++ b/data/os/openbsd.org/openbsd-6.4.xml.in
@@ -0,0 +1,35 @@
+<libosinfo version="0.0.1">
+<!-- Licensed under the GNU General Public License version 2 or later.
+     See http://www.gnu.org/licenses/ for a copy of the license text -->
+  <os id="http://openbsd.org/openbsd/6.4">
+    <short-id>openbsd6.4</short-id>
+    <_name>OpenBSD 6.4</_name>
+    <version>6.4</version>
+    <family>openbsd</family>
+    <distro>openbsd</distro>
+    <_vendor>OpenBSD Project</_vendor>
+    <upgrades id='http://openbsd.org/openbsd/6.3'/>
+
+    <release-date>2018-10-18</release-date>
+
+    <media arch="i686">
+      <url>https://fastly.cdn.openbsd.org/pub/OpenBSD/6.4/i386/install64.iso</url>
+      <iso>
+        <publisher-id>Copyright \(c\) 2018 Theo de Raadt, The OpenBSD project</publisher-id>
+        <system-id>OpenBSD</system-id>
+        <volume-id>OpenBSD/i386    6.4 Install CD</volume-id>
+        <application-id>OpenBSD 6.4 i386 Install CD</application-id>
+      </iso>
+    </media>
+
+    <media arch="x86_64">
+      <url>https://fastly.cdn.openbsd.org/pub/OpenBSD/6.4/amd64/install64.iso</url>
+      <iso>
+        <publisher-id>Copyright \(c\) 2018 Theo de Raadt, The OpenBSD project</publisher-id>
+        <system-id>OpenBSD</system-id>
+        <volume-id>OpenBSD/amd64   6.4 Install CD</volume-id>
+        <application-id>OpenBSD 6.4 amd64 Install CD</application-id>
+      </iso>
+    </media>
+  </os>
+</libosinfo>
diff --git a/tests/isodata/openbsd/openbsd6.4/openbsd-6.4-amd64.txt b/tests/isodata/openbsd/openbsd6.4/openbsd-6.4-amd64.txt
new file mode 100644
index 0000000..e575a97
--- /dev/null
+++ b/tests/isodata/openbsd/openbsd6.4/openbsd-6.4-amd64.txt
@@ -0,0 +1,29 @@
+CD-ROM is in ISO 9660 format
+System id: OpenBSD
+Volume id: OpenBSD/amd64   6.4 Install CD
+Volume set id: 
+Publisher id: Copyright (c) 2018 Theo de Raadt, The OpenBSD project
+Data preparer id: Theo de Raadt <deraadt at openbsd.org>
+Application id: OpenBSD 6.4 amd64 Install CD
+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: 175633
+El Torito VD version 1 found, boot catalog is in sector 80466
+NO Joliet present
+Rock Ridge signatures version 1 found
+Eltorito validation header:
+    Hid 1
+    Arch 0 (x86)
+    ID 'Copyright (c) 2018 Theo'
+    Key 55 AA
+    Eltorito defaultboot header:
+        Bootid 88 (bootable)
+        Boot media 0 (No Emulation Boot)
+        Load segment 0
+        Sys type 0
+        Nsect 4
+        Bootoff 18856 100438
diff --git a/tests/isodata/openbsd/openbsd6.4/openbsd-6.4-i386.txt b/tests/isodata/openbsd/openbsd6.4/openbsd-6.4-i386.txt
new file mode 100644
index 0000000..292795f
--- /dev/null
+++ b/tests/isodata/openbsd/openbsd6.4/openbsd-6.4-i386.txt
@@ -0,0 +1,29 @@
+CD-ROM is in ISO 9660 format
+System id: OpenBSD
+Volume id: OpenBSD/i386    6.4 Install CD
+Volume set id: 
+Publisher id: Copyright (c) 2018 Theo de Raadt, The OpenBSD project
+Data preparer id: Theo de Raadt <deraadt at openbsd.org>
+Application id: OpenBSD 6.4 i386 Install CD
+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: 165836
+El Torito VD version 1 found, boot catalog is in sector 78161
+NO Joliet present
+Rock Ridge signatures version 1 found
+Eltorito validation header:
+    Hid 1
+    Arch 0 (x86)
+    ID 'Copyright (c) 2018 Theo'
+    Key 55 AA
+    Eltorito defaultboot header:
+        Bootid 88 (bootable)
+        Boot media 0 (No Emulation Boot)
+        Load segment 0
+        Sys type 0
+        Nsect 4
+        Bootoff 17526 95526
-- 
2.20.1




More information about the Libosinfo mailing list