[Bug 530344] Re: dependency devscripts is too heavy

Simon Huerlimann simon at huerlisi.ch
Mon Mar 1 23:56:47 GMT 2010


Okay, thanx for the quick response!

A quick check showed that rmadison is called in the python script
VMBuilder/plugins/ubuntu/distro.py, where it is used to get the version
of the xen kernel. (Hehe, just drop the xen support, karmic not being a
nice Xen citizen anyway;-)

I've dug into the rmadison source and it's more or less a lot of documentation and option parsing. It all boils down to a simple:
wget -q -O - 'http://people.canonical.com/~ubuntu-archive/madison.cgi?package=linux-image-FLAVOR&text=on'

The only drawback I can see using this is a dependency on (priority
standard) package wget and the missing abstraction level. But I doubt
the URL or the result format will ever change concerning the widespread
deployment of current versions of rmadison.

Do you think it would be sensible to replace the call to rmadison with a
pythonized version of above wget call?

-- 
dependency devscripts is too heavy
https://bugs.launchpad.net/bugs/530344
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to vm-builder in ubuntu.



More information about the Ubuntu-server-bugs mailing list