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

Re: Bug#542241: simple-cdd: Deal better with non-official codenames

On Mon, 14 Sep 2009, Vagrant Cascadian wrote:
> On Tue, Aug 18, 2009 at 05:52:03PM +0200, Raphaël Hertzog wrote:
> > Currently the CODENAME given is used both to select the distribution to
> > download from the mirror and the distribution to create in the local
> > mirror. Given that debian-cd will only do its job properly if the CODENAME
> > is a well known one, we are forced to use official debian codenames even
> > when we are in fact building a derivative distribution.
> > 
> > It would be nice if simple-cdd could be somewhat more intelligent
> > in that regard.
> > 
> > I suggest to check that debian-cd/data/$CODENAME,
> > debian-cd/tools/$CODENAME and debian-cd/tools/boot/$CODENAME exists and if
> > not to create them as symlinks pointing to $debian_cd_rules_like_dist (you
> > can find a better name maybe, it's meant to be a new variable that selects
> > the Debian distribution whose rules we want to re-use when building the
> > CD).
> if that's really all it would take, it probably wouldn't be too hard to
> implement in simple-cdd.
> though i would rather see something like this implemented in debian-cd
> directly, unless there's a compelling reason not to.

Well, as a debian-cd co-maintainer, I thought about this too, but I didn't
like the idea very much. It would mean 2 supplementary variables that
should be used instead of $CODENAME or $DI_CODENAME in various places and
that should default to $CODENAME $DI_CODENAME.

Ccing debian-cd@lists.debian.org to get the input of Steve (and maybe
Frans) but for now I think that simple-cdd is a good place to implement
this. I consider the fact that we can put supplementary directories
in those places as a relatively official interface of debian-cd.

Raphaël Hertzog

Reply to: