[xen-tools-discuss] New way to generate sources.list planned for one of the next xen-tools releases. Would like to hear some comments.

Axel Beckert abe at deuxchevaux.org
Sun Apr 11 01:21:19 CEST 2010


Hi Mathieu,

On Sat, Apr 10, 2010 at 07:30:22PM +0200, Mathieu Parent (Debian) wrote:
> > while going through the bugs reported against xen-tools in Debian and
> > Ubuntu, I noticed several bugs which point to the same general problem
> > with sources.list generation:
> ...
> > Any comments or further ideas about that? Will probably start to
> > implement that soon. :-)
> 
> Having a quick way to generate those sources is great. But this seems
> a bit over-complicated to me, and this add a new syntax not used
> everywhere else.

The idea was to have something which is straight forward and easy to
remember, so you can type it out of your mind on the command line.

> Furthermore, it doesn't supports local mirrors which
> can have the flat-mode syntax (aka suite is ./something).

Right.

> As apt now supports sources.list.d, I prefer to create an
> /etc/xen-tools/apt-sources.d directory and place here files like in
> role.d.
> 
> Then, xen-tools is invoked with "--apt-sources=lenny-no-security"
> which copy "/etc/xen-tools/apt-sources.d/lenny-no-security.list" as
> "/etc/apt/sources.list" and all files in
> "/etc/xen-tools/apt-sources.d/lenny-no-security.list.d" in
> "/etc/apt/sources.list.d"

Now that's an idea! I like that. Will think about it, but it's very
likely that I'll use that idea instead of mine. It's way more flexible
than mine and you probably often need the same sources.list anyway.

		Regards, Axel
-- 
Axel Beckert - abe at deuxchevaux.org, abe at noone.org - http://noone.org/abe/



More information about the xen-tools-discuss mailing list