[osinfo PATCH 6/8] Add VolumeIDs for 2011 Ubuntu releases

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

 



Note that due to a bug in libosinfo, the detection of 11.10 won't work.
The 11.10 isos don't have a system id nor a publisher id, so they end
up as NULL in the parsed database, but they are a string of N consecutive
space when read from the iso. This prevents the match from working.
---
 data/oses/ubuntu.xml |   24 ++++++++++++++++++++++++
 1 files changed, 24 insertions(+), 0 deletions(-)

diff --git a/data/oses/ubuntu.xml b/data/oses/ubuntu.xml
index 284c38e..86cf559 100644
--- a/data/oses/ubuntu.xml
+++ b/data/oses/ubuntu.xml
@@ -68,6 +68,19 @@
     <vendor>Canonical</vendor>
     <family>Linux</family>
     <upgrades id="http://ubuntu.com/maverick"/>
+
+    <media arch="i386">
+      <iso>
+        <volume-id>.*Ubuntu.* 11.04 i386.*</volume-id>
+        <system-id>LINUX</system-id>
+      </iso>
+    </media>
+    <media arch="x86_64">
+      <iso>
+        <volume-id>Ubuntu.* 11.04 amd64.*</volume-id>
+        <system-id>LINUX</system-id>
+      </iso>
+    </media>
   </os>
 
   <os id="http://ubuntu.com/oneiric";>
@@ -77,6 +90,17 @@
     <vendor>Canonical</vendor>
     <family>Linux</family>
     <upgrades id="http://ubuntu.com/natty"/>
+
+    <media arch="i386">
+      <iso>
+        <volume-id>.*Ubuntu.* 11.10 i386.*</volume-id>
+      </iso>
+    </media>
+    <media arch="x86_64">
+      <iso>
+        <volume-id>.*Ubuntu.* 11.10 amd64.*</volume-id>
+      </iso>
+    </media>
   </os>
 
 </libosinfo>
-- 
1.7.7.1

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list


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