[Libosinfo] [PATCH osinfo-db v2 3/3] rhel5: add <tree arch="all"> entries

Cole Robinson crobinso at redhat.com
Mon Apr 1 18:57:49 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..afe9429 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="all">
+      <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..13eeca7 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="all">
+      <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..b552354 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="all">
+      <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..5b09d28 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="all">
+      <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..421f0df 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="all">
+      <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..d990e7a 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="all">
+      <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..b1c19a7 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="all">
+      <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..44d89a1 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="all">
+      <treeinfo>
+        <family>Red Hat Enterprise Linux</family>
+        <version>5.9</version>
+      </treeinfo>
+    </tree>
   </os>
 </libosinfo>
-- 
2.21.0




More information about the Libosinfo mailing list