[Libosinfo] [PATCH] Support OpenIndiana hipster

Michal Nowak mnowak at startmail.com
Mon Dec 11 17:20:57 UTC 2017


This adds OpenIndiana hipster "fallback" configuration. As OpenIndiana's
<system-id> and <volume-id> do not differ between releases, using
"versioned" configurations like hipster-2017.10.xml.in is currently not
possible as it falls back to "unknown".

```
$ osinfo-detect OI-hipster-minimal-20171031.iso
Media is bootable.
Media is an installer for OS 'OpenIndiana unknown'

$ osinfo-detect OI-hipster-gui-20171031.iso
Media is bootable.
Media is an installer for OS 'OpenIndiana unknown'
Media is live media for OS 'OpenIndiana unknown'
```
---
 data/os/openindiana.org/hipster-unknown.xml.in | 52 ++++++++++++++++++++++++++
 1 file changed, 52 insertions(+)
 create mode 100644 data/os/openindiana.org/hipster-unknown.xml.in

diff --git a/data/os/openindiana.org/hipster-unknown.xml.in b/data/os/openindiana.org/hipster-unknown.xml.in
new file mode 100644
index 0000000..b1c87af
--- /dev/null
+++ b/data/os/openindiana.org/hipster-unknown.xml.in
@@ -0,0 +1,52 @@
+<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://openindiana.org/hipster/unknown">
+    <short-id>openindiana-unknown</short-id>
+    <_name>OpenIndiana unknown</_name>
+    <version>unknown</version>
+    <_vendor>OpenIndiana</_vendor>
+    <family>illumos</family>
+    <distro>hipster</distro>
+    <release-status>prerelease</release-status>
+
+    <devices>
+      <device id="http://pcisig.com/pci/1af4/1041"/> <!-- virtio-net -->
+      <device id="http://pcisig.com/pci/1af4/1042"/> <!-- virtio-block -->
+    </devices>
+
+    <!-- Workstation -->
+
+    <!-- Live DVD -->
+    <media arch="x86_64" live="true">
+      <iso>
+        <system-id>Solaris</system-id>
+        <volume-id>OpenIndiana_Live_X86</volume-id>
+      </iso>
+    </media>
+
+    <!-- Server & Minimal Server -->
+
+    <!-- DVD -->
+    <media arch="x86_64">
+      <iso>
+        <system-id>Solaris</system-id>
+        <volume-id>OpenIndiana_(Text|Minimal)_X86</volume-id>
+      </iso>
+    </media>
+
+    <!-- http://docs.openindiana.org/handbook/getting-started/#system-requirements -->
+    <resources arch="all">
+      <minimum>
+        <n-cpus>1</n-cpus>
+        <cpu>1600000000</cpu>
+        <ram>1073741824</ram>
+        <storage>21474836480</storage>
+      </minimum>
+      <recommended>
+        <ram>2147483648</ram>
+        <storage>21474836480</storage>
+      </recommended>
+    </resources>
+  </os>
+</libosinfo>
-- 
2.13.6




More information about the Libosinfo mailing list