[Libosinfo] [osinfo-db PATCH v2 1/4] rhel: Add RHEL-6 unknown info

Fabiano Fidêncio fidencio at redhat.com
Thu Nov 15 21:43:21 UTC 2018


From: Fabiano Fidêncio <fabiano at fidencio.org>

In a similar way of what's done on openSUSE and Fedora, let's have an
"unknown" entry for RHEL-6 that would cover any possible future release
while the proper release is not added to our db.

Signed-off-by: Fabiano Fidêncio <fabiano at fidencio.org>
---
 data/os/redhat.com/rhel-6-unknown.xml.in | 68 ++++++++++++++++++++++++
 1 file changed, 68 insertions(+)
 create mode 100644 data/os/redhat.com/rhel-6-unknown.xml.in

diff --git a/data/os/redhat.com/rhel-6-unknown.xml.in b/data/os/redhat.com/rhel-6-unknown.xml.in
new file mode 100644
index 0000000..4d2c6a3
--- /dev/null
+++ b/data/os/redhat.com/rhel-6-unknown.xml.in
@@ -0,0 +1,68 @@
+<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://redhat.com/rhel/6-unknown">
+    <short-id>rhel6-unknown</short-id>
+    <_name>Red Hat Enterprise Linux 6 Unknown</_name>
+    <version>6-unknown</version>
+    <_vendor>Red Hat, Inc</_vendor>
+    <family>linux</family>
+    <distro>rhel</distro>
+    <codename>Santiago</codename>
+    <upgrades id="http://redhat.com/rhel/6.10"/>
+    <derives-from id="http://redhat.com/rhel/6.10"/>
+
+    <eol-date>2024-06-30</eol-date>
+
+    <media arch="i686">
+      <iso>
+        <system-id>LINUX</system-id>
+        <volume-id>RHEL-6.(1[1-9]|[2-9][0-9]) .*.i386$</volume-id>
+      </iso>
+      <kernel>isolinux/vmlinuz</kernel>
+      <initrd>isolinux/initrd.img</initrd>
+    </media>
+    <media arch="x86_64">
+      <iso>
+        <system-id>LINUX</system-id>
+        <volume-id>RHEL-6.(1[1-9]|[2-9][0-9]) .*.x86_64$</volume-id>
+      </iso>
+      <kernel>isolinux/vmlinuz</kernel>
+      <initrd>isolinux/initrd.img</initrd>
+    </media>
+    <media arch="ppc">
+      <iso>
+        <system-id>PPC</system-id>
+        <volume-id>RHEL-6.(1[1-9]|[2-9][0-9]) .*.ppc64$</volume-id>
+      </iso>
+      <kernel>isolinux/vmlinuz</kernel>
+      <initrd>isolinux/initrd.img</initrd>
+    </media>
+    <media arch="s390x">
+      <iso>
+        <system-id>LINUX</system-id>
+        <volume-id>RHEL-6.(1[1-9]|[2-9][0-9]) .*.s390x$</volume-id>
+      </iso>
+      <kernel>isolinux/vmlinuz</kernel>
+      <initrd>isolinux/initrd.img</initrd>
+    </media>
+
+    <resources arch="all">
+      <minimum>
+        <n-cpus>1</n-cpus>
+        <ram>536870912</ram>
+      </minimum>
+
+      <recommended>
+        <cpu>400000000</cpu>
+        <ram>1073741824</ram>
+        <storage>9663676416</storage>
+      </recommended>
+    </resources>
+
+    <installer>
+      <script id='http://redhat.com/rhel/kickstart/jeos'/>
+      <script id='http://redhat.com/rhel/kickstart/desktop'/>
+    </installer>
+  </os>
+</libosinfo>
-- 
2.19.1




More information about the Libosinfo mailing list