[Libosinfo] [PATCH osinfo-db 2/2] rhel5: add tree information

Cole Robinson crobinso at redhat.com
Thu Feb 28 23:48:32 UTC 2019


Only rhel5.4+ has .treeinfo
Family here will match both rhel5 client and server trees

Signed-off-by: Cole Robinson <crobinso at redhat.com>
---
 data/os/redhat.com/rhel-5.10.xml.in | 7 +++++++
 data/os/redhat.com/rhel-5.11.xml.in | 7 +++++++
 data/os/redhat.com/rhel-5.4.xml.in  | 7 +++++++
 data/os/redhat.com/rhel-5.5.xml.in  | 7 +++++++
 data/os/redhat.com/rhel-5.6.xml.in  | 7 +++++++
 data/os/redhat.com/rhel-5.7.xml.in  | 7 +++++++
 data/os/redhat.com/rhel-5.8.xml.in  | 7 +++++++
 data/os/redhat.com/rhel-5.9.xml.in  | 7 +++++++
 8 files changed, 56 insertions(+)

diff --git a/data/os/redhat.com/rhel-5.10.xml.in b/data/os/redhat.com/rhel-5.10.xml.in
index 8bdf653..82b242d 100644
--- a/data/os/redhat.com/rhel-5.10.xml.in
+++ b/data/os/redhat.com/rhel-5.10.xml.in
@@ -27,5 +27,12 @@
         <volume-id>.*RHEL/5.10 x86_64.*</volume-id>
       </iso>
     </media>
+
+    <tree arch="unknown">
+      <treeinfo>
+        <family>Red Hat Enterprise Linux</family>
+        <version>5.10</version>
+      </treeinfo>
+    </tree>
   </os>
 </libosinfo>
diff --git a/data/os/redhat.com/rhel-5.11.xml.in b/data/os/redhat.com/rhel-5.11.xml.in
index a8a295c..120ebe4 100644
--- a/data/os/redhat.com/rhel-5.11.xml.in
+++ b/data/os/redhat.com/rhel-5.11.xml.in
@@ -27,5 +27,12 @@
         <volume-id>.*RHEL/5.11 x86_64.*</volume-id>
       </iso>
     </media>
+
+    <tree arch="unknown">
+      <treeinfo>
+        <family>Red Hat Enterprise Linux</family>
+        <version>5.11</version>
+      </treeinfo>
+    </tree>
   </os>
 </libosinfo>
diff --git a/data/os/redhat.com/rhel-5.4.xml.in b/data/os/redhat.com/rhel-5.4.xml.in
index 2806fa5..3671e16 100644
--- a/data/os/redhat.com/rhel-5.4.xml.in
+++ b/data/os/redhat.com/rhel-5.4.xml.in
@@ -27,5 +27,12 @@
         <volume-id>.*RHEL/5.4 x86_64.*</volume-id>
       </iso>
     </media>
+
+    <tree arch="unknown">
+      <treeinfo>
+        <family>Red Hat Enterprise Linux</family>
+        <version>5.4</version>
+      </treeinfo>
+    </tree>
   </os>
 </libosinfo>
diff --git a/data/os/redhat.com/rhel-5.5.xml.in b/data/os/redhat.com/rhel-5.5.xml.in
index 3fa31be..f90bacd 100644
--- a/data/os/redhat.com/rhel-5.5.xml.in
+++ b/data/os/redhat.com/rhel-5.5.xml.in
@@ -27,5 +27,12 @@
         <volume-id>.*RHEL/5.5 x86_64.*</volume-id>
       </iso>
     </media>
+
+    <tree arch="unknown">
+      <treeinfo>
+        <family>Red Hat Enterprise Linux</family>
+        <version>5.5</version>
+      </treeinfo>
+    </tree>
   </os>
 </libosinfo>
diff --git a/data/os/redhat.com/rhel-5.6.xml.in b/data/os/redhat.com/rhel-5.6.xml.in
index d132a77..e2f39e1 100644
--- a/data/os/redhat.com/rhel-5.6.xml.in
+++ b/data/os/redhat.com/rhel-5.6.xml.in
@@ -33,5 +33,12 @@
         <volume-id>.*RHEL/5.6 x86_64.*</volume-id>
       </iso>
     </media>
+
+    <tree arch="unknown">
+      <treeinfo>
+        <family>Red Hat Enterprise Linux</family>
+        <version>5.6</version>
+      </treeinfo>
+    </tree>
   </os>
 </libosinfo>
diff --git a/data/os/redhat.com/rhel-5.7.xml.in b/data/os/redhat.com/rhel-5.7.xml.in
index f949ef1..fda0cc8 100644
--- a/data/os/redhat.com/rhel-5.7.xml.in
+++ b/data/os/redhat.com/rhel-5.7.xml.in
@@ -27,5 +27,12 @@
         <volume-id>.*RHEL/5.7 x86_64.*</volume-id>
       </iso>
     </media>
+
+    <tree arch="unknown">
+      <treeinfo>
+        <family>Red Hat Enterprise Linux</family>
+        <version>5.7</version>
+      </treeinfo>
+    </tree>
   </os>
 </libosinfo>
diff --git a/data/os/redhat.com/rhel-5.8.xml.in b/data/os/redhat.com/rhel-5.8.xml.in
index 6ef0621..f42cc4b 100644
--- a/data/os/redhat.com/rhel-5.8.xml.in
+++ b/data/os/redhat.com/rhel-5.8.xml.in
@@ -27,5 +27,12 @@
         <volume-id>.*RHEL/5.8 x86_64.*</volume-id>
       </iso>
     </media>
+
+    <tree arch="unknown">
+      <treeinfo>
+        <family>Red Hat Enterprise Linux</family>
+        <version>5.8</version>
+      </treeinfo>
+    </tree>
   </os>
 </libosinfo>
diff --git a/data/os/redhat.com/rhel-5.9.xml.in b/data/os/redhat.com/rhel-5.9.xml.in
index 16f6e36..80888bf 100644
--- a/data/os/redhat.com/rhel-5.9.xml.in
+++ b/data/os/redhat.com/rhel-5.9.xml.in
@@ -27,5 +27,12 @@
         <volume-id>.*RHEL/5.9 x86_64.*</volume-id>
       </iso>
     </media>
+
+    <tree arch="unknown">
+      <treeinfo>
+        <family>Red Hat Enterprise Linux</family>
+        <version>5.9</version>
+      </treeinfo>
+    </tree>
   </os>
 </libosinfo>
-- 
2.20.1




More information about the Libosinfo mailing list