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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxx>
---
 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

_______________________________________________
Libosinfo mailing list
Libosinfo@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libosinfo




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Fedora Users]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux