LTS Ubuntu versions are respinned several times throughout their lifetime to integrate all the updates on the iso. When this happens, the volume ID becomes "Ubuntu 10.04.4 LTS i386" for example. The additional 3rd digit is properly handled for 8.04 but not for 10.04. This commit fixes the 10.04 volume ID regexp so that it handles this case, and also adds the missing "LTS" to the regexp (rhbz#811871). This fixes detection of the ubuntu 10.04.4 iso, I couldn't get my hands on an older 10.04 iso to double check this doesn't cause a regression. --- data/oses/ubuntu.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/data/oses/ubuntu.xml b/data/oses/ubuntu.xml index 8ea6fdd..e4f2e1c 100644 --- a/data/oses/ubuntu.xml +++ b/data/oses/ubuntu.xml @@ -824,7 +824,7 @@ <media arch="i386" live="true"> <url>http://old-releases.ubuntu.com/releases/lucid/ubuntu-10.04-desktop-i386.iso</url> <iso> - <volume-id>Ubuntu 10.04 i386</volume-id> + <volume-id>Ubuntu 10.04(.\d)? LTS i386</volume-id> <system-id>LINUX</system-id> </iso> <kernel>casper/vmlinuz</kernel> @@ -833,7 +833,7 @@ <media arch="x86_64" live="true"> <url>http://old-releases.ubuntu.com/releases/lucid/ubuntu-10.04-desktop-amd64.iso</url> <iso> - <volume-id>Ubuntu 10.04 amd64</volume-id> + <volume-id>Ubuntu 10.04(.\d)? LTS amd64</volume-id> <system-id>LINUX</system-id> </iso> <kernel>casper/vmlinuz</kernel> -- 1.7.10