[Libosinfo] [PATCH libosinfo] oses: Add RHEL Server for AArch64 (rhelsa2.0)

Cole Robinson crobinso at redhat.com
Wed Dec 3 14:24:50 UTC 2014


Long term this will likely just merge with RHEL proper, but until then
it's slated to be its own product.

Signed-off-by: Cole Robinson <crobinso at redhat.com>
---
 data/oses/rhel.xml.in                              | 51 ++++++++++++++++++++++
 data/schemas/libosinfo.rng                         |  1 +
 ...ELSA-1.5-20141017.1-Server-aarch64-dvd1.iso.txt | 29 ++++++++++++
 3 files changed, 81 insertions(+)
 create mode 100644 test/isodata/rhel/rhelsa2.0/RHELSA-1.5-20141017.1-Server-aarch64-dvd1.iso.txt

diff --git a/data/oses/rhel.xml.in b/data/oses/rhel.xml.in
index 791d470..b1e70e0 100644
--- a/data/oses/rhel.xml.in
+++ b/data/oses/rhel.xml.in
@@ -1171,6 +1171,9 @@
     </installer>
   </os>
 
+
+  <!-- RHEL atomic -->
+
   <os id="http://redhat.com/rhel-atomic/7.0">
     <short-id>rhel-atomic-7.0</short-id>
     <_name>Red Hat Enterprise Linux Atomic Host 7.0</_name>
@@ -1212,4 +1215,52 @@
       </recommended>
     </resources>
   </os>
+
+
+  <!-- RHEL Server for Aarch64 (RHELSA) -->
+
+  <os id="http://redhat.com/rhelsa/2.0">
+    <short-id>rhelsa2.0</short-id>
+    <_name>Red Hat Enterprise Linux Server for AArch64 2.0</_name>
+    <version>2.0</version>
+    <_vendor>Red Hat, Inc</_vendor>
+    <family>linux</family>
+    <distro>rhel</distro>
+    <derives-from id="http://redhat.com/rhel/7.0"/>
+
+    <!-- The OS will eventually support these devices, but for virt some
+         aren't available yet since qemu doesn't provide any USB or PCI
+         for example -->
+    <devices>
+      <device id="http://pciids.sourceforge.net/v2.2/pci.ids/1b36/0100"/> <!-- QXL -->
+      <device id="http://pciids.sourceforge.net/v2.2/pci.ids/8086/2415"/> <!-- AC97 -->
+      <device id="http://www.linux-usb.org/usb.ids/80ee/0021"/> <!-- USB tablet -->
+      <device id="http://pciids.sourceforge.net/v2.2/pci.ids/1af4/1001"/> <!-- virtio-block -->
+      <device id="http://pciids.sourceforge.net/v2.2/pci.ids/1af4/1000"/> <!-- virtio-net -->
+    </devices>
+
+    <media arch="aarch64">
+      <iso>
+        <system-id>LINUX</system-id>
+        <volume-id>RHELSA-.* Server\.aarch64</volume-id>
+      </iso>
+      <kernel>isolinux/vmlinuz</kernel>
+      <initrd>isolinux/initrd.img</initrd>
+    </media>
+
+    <resources arch="all">
+      <minimum>
+        <n-cpus>1</n-cpus>
+        <cpu>1000000000</cpu>
+        <ram>1073741824</ram>
+        <storage>10737418240</storage>
+      </minimum>
+
+      <recommended>
+        <cpu>400000000</cpu>
+        <ram>1073741824</ram>
+        <storage>9663676416</storage>
+      </recommended>
+    </resources>
+  </os>
 </libosinfo>
diff --git a/data/schemas/libosinfo.rng b/data/schemas/libosinfo.rng
index e693674..c563a34 100644
--- a/data/schemas/libosinfo.rng
+++ b/data/schemas/libosinfo.rng
@@ -689,6 +689,7 @@
   </define>
   <define name='archnames'>
     <choice>
+      <value>aarch64</value>
       <value>alpha</value>
       <value>armv7l</value>
       <value>cris</value>
diff --git a/test/isodata/rhel/rhelsa2.0/RHELSA-1.5-20141017.1-Server-aarch64-dvd1.iso.txt b/test/isodata/rhel/rhelsa2.0/RHELSA-1.5-20141017.1-Server-aarch64-dvd1.iso.txt
new file mode 100644
index 0000000..6f017e9
--- /dev/null
+++ b/test/isodata/rhel/rhelsa2.0/RHELSA-1.5-20141017.1-Server-aarch64-dvd1.iso.txt
@@ -0,0 +1,29 @@
+CD-ROM is in ISO 9660 format
+System id: LINUX
+Volume id: RHELSA-1.5 Server.aarch64
+Volume set id: 
+Publisher id: 
+Data preparer id: 
+Application id: GENISOIMAGE ISO 9660/HFS FILESYSTEM CREATOR (C) 1993 E.YOUNGDALE (C) 1997-2006 J.PEARSON/J.SCHILLING (C) 2006-2007 CDRKIT TEAM
+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: 1417692
+El Torito VD version 1 found, boot catalog is in sector 523
+Joliet with UCS level 3 found
+Rock Ridge signatures version 1 found
+Eltorito validation header:
+    Hid 1
+    Arch 239 (Unknown Arch)
+    ID ''
+    Key 55 AA
+    Eltorito defaultboot header:
+        Bootid 88 (bootable)
+        Boot media 0 (No Emulation Boot)
+        Load segment 0
+        Sys type 0
+        Nsect 29E8
+        Bootoff 1DED2 122578
-- 
2.1.0




More information about the Libosinfo mailing list