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

Mathieu Parent (Debian) sathieu at debian.org
Sat Apr 10 19:30:22 CEST 2010


Hi,


On Sat, Apr 10, 2010 at 1:51 PM, Axel Beckert <abe at deuxchevaux.org> wrote:
> Hi,
>
> 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. Furthermore, it doesn't supports local mirrors which
can have the flat-mode syntax (aka suite is ./something).

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"

Regards

Mathieu Parent



More information about the xen-tools-discuss mailing list