[Libosinfo] [PATCH osinfo-db 3/6] centos5: Add <tree> data

Cole Robinson crobinso at redhat.com
Fri Mar 1 23:41:39 UTC 2019


Prior to centos5.4, there was no treeinfo, so just list explicit
URLs + initrd + vmlinuz. For 5.4, only i386 has listed treeinfo
strangely...

Signed-off-by: Cole Robinson <crobinso at redhat.com>
---
 data/os/centos.org/centos-5.0.xml.in  | 11 +++++++++++
 data/os/centos.org/centos-5.1.xml.in  | 11 +++++++++++
 data/os/centos.org/centos-5.10.xml.in | 17 +++++++++++++++++
 data/os/centos.org/centos-5.11.xml.in | 17 +++++++++++++++++
 data/os/centos.org/centos-5.2.xml.in  | 11 +++++++++++
 data/os/centos.org/centos-5.3.xml.in  | 11 +++++++++++
 data/os/centos.org/centos-5.4.xml.in  | 15 +++++++++++++++
 data/os/centos.org/centos-5.5.xml.in  | 17 +++++++++++++++++
 data/os/centos.org/centos-5.6.xml.in  | 17 +++++++++++++++++
 data/os/centos.org/centos-5.7.xml.in  | 17 +++++++++++++++++
 data/os/centos.org/centos-5.8.xml.in  | 17 +++++++++++++++++
 data/os/centos.org/centos-5.9.xml.in  | 17 +++++++++++++++++
 12 files changed, 178 insertions(+)

diff --git a/data/os/centos.org/centos-5.0.xml.in b/data/os/centos.org/centos-5.0.xml.in
index 3d7c9a2..51cda22 100644
--- a/data/os/centos.org/centos-5.0.xml.in
+++ b/data/os/centos.org/centos-5.0.xml.in
@@ -12,5 +12,16 @@
 
     <release-date>2007-04-12</release-date>
     <eol-date>2017-03-31</eol-date>
+
+    <tree arch="x86_64">
+      <url>http://vault.centos.org/5.0/os/x86_64/</url>
+      <kernel>images/pxeboot/vmlinuz</kernel>
+      <initrd>images/pxeboot/initrd.img</initrd>
+    </tree>
+    <tree arch="i686">
+      <url>http://vault.centos.org/5.0/os/i386/</url>
+      <kernel>images/pxeboot/vmlinuz</kernel>
+      <initrd>images/pxeboot/initrd.img</initrd>
+    </tree>
   </os>
 </libosinfo>
diff --git a/data/os/centos.org/centos-5.1.xml.in b/data/os/centos.org/centos-5.1.xml.in
index eed72bb..6f32175 100644
--- a/data/os/centos.org/centos-5.1.xml.in
+++ b/data/os/centos.org/centos-5.1.xml.in
@@ -13,5 +13,16 @@
 
     <release-date>2007-12-02</release-date>
     <eol-date>2017-03-31</eol-date>
+
+    <tree arch="x86_64">
+      <url>http://vault.centos.org/5.1/os/x86_64/</url>
+      <kernel>images/pxeboot/vmlinuz</kernel>
+      <initrd>images/pxeboot/initrd.img</initrd>
+    </tree>
+    <tree arch="i686">
+      <url>http://vault.centos.org/5.1/os/i386/</url>
+      <kernel>images/pxeboot/vmlinuz</kernel>
+      <initrd>images/pxeboot/initrd.img</initrd>
+    </tree>
   </os>
 </libosinfo>
diff --git a/data/os/centos.org/centos-5.10.xml.in b/data/os/centos.org/centos-5.10.xml.in
index 8ab6bd4..4c345c1 100644
--- a/data/os/centos.org/centos-5.10.xml.in
+++ b/data/os/centos.org/centos-5.10.xml.in
@@ -13,5 +13,22 @@
 
     <release-date>2013-10-19</release-date>
     <eol-date>2017-03-31</eol-date>
+
+    <tree arch="x86_64">
+      <url>http://vault.centos.org/5.10/os/x86_64/</url>
+      <treeinfo>
+        <family>CentOS</family>
+        <version>5.10</version>
+        <arch>x86_64</arch>
+      </treeinfo>
+    </tree>
+    <tree arch="i686">
+      <url>http://vault.centos.org/5.10/os/i386/</url>
+      <treeinfo>
+        <family>CentOS</family>
+        <version>5.10</version>
+        <arch>i386</arch>
+      </treeinfo>
+    </tree>
   </os>
 </libosinfo>
diff --git a/data/os/centos.org/centos-5.11.xml.in b/data/os/centos.org/centos-5.11.xml.in
index 16fd673..4dec6ce 100644
--- a/data/os/centos.org/centos-5.11.xml.in
+++ b/data/os/centos.org/centos-5.11.xml.in
@@ -13,5 +13,22 @@
 
     <release-date>2014-09-30</release-date>
     <eol-date>2017-03-31</eol-date>
+
+    <tree arch="x86_64">
+      <url>http://vault.centos.org/5.11/os/x86_64/</url>
+      <treeinfo>
+        <family>CentOS</family>
+        <version>5.11</version>
+        <arch>x86_64</arch>
+      </treeinfo>
+    </tree>
+    <tree arch="i686">
+      <url>http://vault.centos.org/5.11/os/i386/</url>
+      <treeinfo>
+        <family>CentOS</family>
+        <version>5.11</version>
+        <arch>i386</arch>
+      </treeinfo>
+    </tree>
   </os>
 </libosinfo>
diff --git a/data/os/centos.org/centos-5.2.xml.in b/data/os/centos.org/centos-5.2.xml.in
index efdf281..a150a2c 100644
--- a/data/os/centos.org/centos-5.2.xml.in
+++ b/data/os/centos.org/centos-5.2.xml.in
@@ -13,5 +13,16 @@
 
     <release-date>2008-06-24</release-date>
     <eol-date>2017-03-31</eol-date>
+
+    <tree arch="x86_64">
+      <url>http://vault.centos.org/5.2/os/x86_64/</url>
+      <kernel>images/pxeboot/vmlinuz</kernel>
+      <initrd>images/pxeboot/initrd.img</initrd>
+    </tree>
+    <tree arch="i686">
+      <url>http://vault.centos.org/5.2/os/i386/</url>
+      <kernel>images/pxeboot/vmlinuz</kernel>
+      <initrd>images/pxeboot/initrd.img</initrd>
+    </tree>
   </os>
 </libosinfo>
diff --git a/data/os/centos.org/centos-5.3.xml.in b/data/os/centos.org/centos-5.3.xml.in
index 9fc4d6b..58155fa 100644
--- a/data/os/centos.org/centos-5.3.xml.in
+++ b/data/os/centos.org/centos-5.3.xml.in
@@ -13,5 +13,16 @@
 
     <release-date>2009-04-01</release-date>
     <eol-date>2017-03-31</eol-date>
+
+    <tree arch="x86_64">
+      <url>http://vault.centos.org/5.3/os/x86_64/</url>
+      <kernel>images/pxeboot/vmlinuz</kernel>
+      <initrd>images/pxeboot/initrd.img</initrd>
+    </tree>
+    <tree arch="i686">
+      <url>http://vault.centos.org/5.3/os/i386/</url>
+      <kernel>images/pxeboot/vmlinuz</kernel>
+      <initrd>images/pxeboot/initrd.img</initrd>
+    </tree>
   </os>
 </libosinfo>
diff --git a/data/os/centos.org/centos-5.4.xml.in b/data/os/centos.org/centos-5.4.xml.in
index d3e1769..5a9026d 100644
--- a/data/os/centos.org/centos-5.4.xml.in
+++ b/data/os/centos.org/centos-5.4.xml.in
@@ -13,5 +13,20 @@
 
     <release-date>2009-10-21</release-date>
     <eol-date>2017-03-31</eol-date>
+
+    <tree arch="x86_64">
+      <!-- Strangely centos5.4 x86_64 lacks treeinfo, but i386 has it... -->
+      <url>http://vault.centos.org/5.4/os/x86_64/</url>
+      <kernel>images/pxeboot/vmlinuz</kernel>
+      <initrd>images/pxeboot/initrd.img</initrd>
+    </tree>
+    <tree arch="i686">
+      <url>http://vault.centos.org/5.4/os/i386/</url>
+      <treeinfo>
+        <family>CentOS</family>
+        <version>5.4</version>
+        <arch>i386</arch>
+      </treeinfo>
+    </tree>
   </os>
 </libosinfo>
diff --git a/data/os/centos.org/centos-5.5.xml.in b/data/os/centos.org/centos-5.5.xml.in
index 2d5029b..637329d 100644
--- a/data/os/centos.org/centos-5.5.xml.in
+++ b/data/os/centos.org/centos-5.5.xml.in
@@ -13,5 +13,22 @@
 
     <release-date>2010-05-15</release-date>
     <eol-date>2017-03-31</eol-date>
+
+    <tree arch="x86_64">
+      <url>http://vault.centos.org/5.5/os/x86_64/</url>
+      <treeinfo>
+        <family>CentOS</family>
+        <version>5.5</version>
+        <arch>x86_64</arch>
+      </treeinfo>
+    </tree>
+    <tree arch="i686">
+      <url>http://vault.centos.org/5.5/os/i386/</url>
+      <treeinfo>
+        <family>CentOS</family>
+        <version>5.5</version>
+        <arch>i386</arch>
+      </treeinfo>
+    </tree>
   </os>
 </libosinfo>
diff --git a/data/os/centos.org/centos-5.6.xml.in b/data/os/centos.org/centos-5.6.xml.in
index 5b14756..d598cce 100644
--- a/data/os/centos.org/centos-5.6.xml.in
+++ b/data/os/centos.org/centos-5.6.xml.in
@@ -13,5 +13,22 @@
 
     <release-date>2011-04-09</release-date>
     <eol-date>2017-03-31</eol-date>
+
+    <tree arch="x86_64">
+      <url>http://vault.centos.org/5.6/os/x86_64/</url>
+      <treeinfo>
+        <family>CentOS</family>
+        <version>5.6</version>
+        <arch>x86_64</arch>
+      </treeinfo>
+    </tree>
+    <tree arch="i686">
+      <url>http://vault.centos.org/5.6/os/i386/</url>
+      <treeinfo>
+        <family>CentOS</family>
+        <version>5.6</version>
+        <arch>i386</arch>
+      </treeinfo>
+    </tree>
   </os>
 </libosinfo>
diff --git a/data/os/centos.org/centos-5.7.xml.in b/data/os/centos.org/centos-5.7.xml.in
index dac2080..091d1be 100644
--- a/data/os/centos.org/centos-5.7.xml.in
+++ b/data/os/centos.org/centos-5.7.xml.in
@@ -13,5 +13,22 @@
 
     <release-date>2011-09-14</release-date>
     <eol-date>2017-03-31</eol-date>
+
+    <tree arch="x86_64">
+      <url>http://vault.centos.org/5.7/os/x86_64/</url>
+      <treeinfo>
+        <family>CentOS</family>
+        <version>5.7</version>
+        <arch>x86_64</arch>
+      </treeinfo>
+    </tree>
+    <tree arch="i686">
+      <url>http://vault.centos.org/5.7/os/i386/</url>
+      <treeinfo>
+        <family>CentOS</family>
+        <version>5.7</version>
+        <arch>i386</arch>
+      </treeinfo>
+    </tree>
   </os>
 </libosinfo>
diff --git a/data/os/centos.org/centos-5.8.xml.in b/data/os/centos.org/centos-5.8.xml.in
index 4517043..9a1a38b 100644
--- a/data/os/centos.org/centos-5.8.xml.in
+++ b/data/os/centos.org/centos-5.8.xml.in
@@ -13,5 +13,22 @@
 
     <release-date>2012-03-08</release-date>
     <eol-date>2017-03-31</eol-date>
+
+    <tree arch="x86_64">
+      <url>http://vault.centos.org/5.8/os/x86_64/</url>
+      <treeinfo>
+        <family>CentOS</family>
+        <version>5.8</version>
+        <arch>x86_64</arch>
+      </treeinfo>
+    </tree>
+    <tree arch="i686">
+      <url>http://vault.centos.org/5.8/os/i386/</url>
+      <treeinfo>
+        <family>CentOS</family>
+        <version>5.8</version>
+        <arch>i386</arch>
+      </treeinfo>
+    </tree>
   </os>
 </libosinfo>
diff --git a/data/os/centos.org/centos-5.9.xml.in b/data/os/centos.org/centos-5.9.xml.in
index e087b25..8482581 100644
--- a/data/os/centos.org/centos-5.9.xml.in
+++ b/data/os/centos.org/centos-5.9.xml.in
@@ -13,5 +13,22 @@
 
     <release-date>2013-01-17</release-date>
     <eol-date>2017-03-31</eol-date>
+
+    <tree arch="x86_64">
+      <url>http://vault.centos.org/5.9/os/x86_64/</url>
+      <treeinfo>
+        <family>CentOS</family>
+        <version>5.9</version>
+        <arch>x86_64</arch>
+      </treeinfo>
+    </tree>
+    <tree arch="i686">
+      <url>http://vault.centos.org/5.9/os/i386/</url>
+      <treeinfo>
+        <family>CentOS</family>
+        <version>5.9</version>
+        <arch>i386</arch>
+      </treeinfo>
+    </tree>
   </os>
 </libosinfo>
-- 
2.20.1




More information about the Libosinfo mailing list