[Libosinfo] [osinfo-db PATCH] rhel: Add treeinfo info for 8.0, 7.6 and 7.5

Fabiano Fidêncio fidencio at redhat.com
Fri Dec 14 09:39:27 UTC 2018


Although Red Hat doesn't provide any public URL for tree installation,
they do use a .treeinfo internally that contains some data that may be
useful to recognize the tree installer (even if it's only used
internally).

Signed-off-by: Fabiano Fidêncio <fidencio at redhat.com>
---
 data/os/redhat.com/rhel-7.5.xml.in | 8 ++++++++
 data/os/redhat.com/rhel-7.6.xml.in | 8 ++++++++
 data/os/redhat.com/rhel-8.0.xml.in | 8 ++++++++
 3 files changed, 24 insertions(+)

diff --git a/data/os/redhat.com/rhel-7.5.xml.in b/data/os/redhat.com/rhel-7.5.xml.in
index ef22dfd..6dea055 100644
--- a/data/os/redhat.com/rhel-7.5.xml.in
+++ b/data/os/redhat.com/rhel-7.5.xml.in
@@ -51,6 +51,14 @@
        </iso>
      </media>
 
+    <tree arch="x86_64">
+      <treeinfo>
+        <family>Red Hat Enterprise Linux</family>
+        <version>7.5</version>
+        <arch>x86_64</arch>
+      </treeinfo>
+    </tree>
+
     <resources arch="ppc64">
       <minimum>
         <n-cpus>1</n-cpus>
diff --git a/data/os/redhat.com/rhel-7.6.xml.in b/data/os/redhat.com/rhel-7.6.xml.in
index 934705d..1098c77 100644
--- a/data/os/redhat.com/rhel-7.6.xml.in
+++ b/data/os/redhat.com/rhel-7.6.xml.in
@@ -51,6 +51,14 @@
        </iso>
      </media>
 
+    <tree arch="x86_64">
+      <treeinfo>
+        <family>Red Hat Enterprise Linux</family>
+        <version>7.6</version>
+        <arch>x86_64</arch>
+      </treeinfo>
+    </tree>
+
     <resources arch="ppc64">
       <minimum>
         <n-cpus>1</n-cpus>
diff --git a/data/os/redhat.com/rhel-8.0.xml.in b/data/os/redhat.com/rhel-8.0.xml.in
index 6af5e4f..7366674 100644
--- a/data/os/redhat.com/rhel-8.0.xml.in
+++ b/data/os/redhat.com/rhel-8.0.xml.in
@@ -67,6 +67,14 @@
       </iso>
     </media>
 
+    <tree arch="x86_64">
+      <treeinfo>
+        <family>Red Hat Enterprise Linux</family>
+        <version>8.0</version>
+        <arch>x86_64</arch>
+      </treeinfo>
+    </tree>
+
     <resources arch="ppc64">
       <minimum>
         <n-cpus>1</n-cpus>
-- 
2.19.1




More information about the Libosinfo mailing list