[Libosinfo] [PATCH] Fix sun/oracle confusion in solaris metadata

Daniel P. Berrange berrange at redhat.com
Wed Sep 2 09:01:54 UTC 2015


There are multiple mistakes in the solaris metadata

 - Solaris 11 was released after Oracle acquisition, so vendor
   should be Oracle
 - The product name of Solaris >= 11 includes "Oracle" and
   not "Sun", so should be "Oracle Solaris 11"
 - The original product names for earlier versions of Solaris
   did not include "Sun", so just "Solaris 10"
 - The domain name in the URL for OpenSolaris should be sun.com
   not oracle.com
 - The domain name in the URL for Solaris 11 should be oracle.com

Resolves https://bugzilla.redhat.com/show_bug.cgi?id=1257151

Signed-off-by: Daniel P. Berrange <berrange at redhat.com>
---
 data/oses/solaris.xml.in | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/data/oses/solaris.xml.in b/data/oses/solaris.xml.in
index 89a6ec8..8c7c276 100644
--- a/data/oses/solaris.xml.in
+++ b/data/oses/solaris.xml.in
@@ -2,7 +2,7 @@
 
   <os id="http://sun.com/solaris/9">
     <short-id>solaris9</short-id>
-    <_name>Sun Solaris 9</_name>
+    <_name>Solaris 9</_name>
     <version>9</version>
     <_vendor>Sun</_vendor>
     <family>solaris</family>
@@ -11,7 +11,7 @@
 
   <os id="http://sun.com/solaris/10">
     <short-id>solaris10</short-id>
-    <_name>Sun Solaris 10</_name>
+    <_name>Solaris 10</_name>
     <version>10</version>
     <_vendor>Sun</_vendor>
     <family>solaris</family>
@@ -23,19 +23,19 @@
     </devices>
   </os>
 
-  <os id="http://sun.com/solaris/11">
+  <os id="http://oracle.com/solaris/11">
     <short-id>solaris11</short-id>
-    <_name>Sun Solaris 11</_name>
+    <_name>Oracle Solaris 11</_name>
     <version>11</version>
-    <_vendor>Sun</_vendor>
+    <_vendor>Oracle</_vendor>
     <family>solaris</family>
     <distro>solaris</distro>
     <upgrades id="http://sun.com/solaris/10"/>
   </os>
 
-  <os id="http://oracle.com/opensolaris/2009.06">
+  <os id="http://sun.com/opensolaris/2009.06">
     <short-id>opensolaris2009.06</short-id>
-    <_name>Sun OpenSolaris 2009.06</_name>
+    <_name>OpenSolaris 2009.06</_name>
     <version>2009.06</version>
     <_vendor>Sun</_vendor>
     <family>solaris</family>
-- 
2.4.3




More information about the Libosinfo mailing list