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

Re: New emdebian releases of apt-cross and emdebian-tools

On Wed, 2007-04-04 at 17:20:29 +0400, Nikita V. Youshchenko wrote:
> > emsetup previously added the emdebian toolchain repository
> > to /etc/apt/sources.list directly. In v0.1.4 this has changed. Instead,
> > the emdebian repository sources are added
> > to /etc/apt/sources.list.d/emdebian.sources.list - utilising the
> > supported method of adding new sources within apt. This was done for a
> > couple of reasons:
> > 
> > 1. When experimenting with a debootstrap environment (see the pbuilder
> > directory in emdebian-tools SVN), it became obvious that
> > modifying /etc/apt/sources.list in emsetup was going to be problematic.
> > (It also threw some light on Richard's problem with secondary Debian
> > mirrors like ftp.debian.org - that URL comes from debootstrap and
> > causes no end of hassle for emdebian-tools because the secondary mirror
> > only has 2 architectures).

Why don't you just give the desired URL to debootstrap? or do you mean
on already debootstrapped chroots?

> > 2. The normal place to modify conffiles is the maintainer scripts and
> > using sources.list.d/ allows emdebian-tools to undo the change very
> > easily when the package is purged. That makes the change worthwhile.

> 3. Modifying other package's configuration files in not allowed by debian
> policy.

Right, and neither is modifying your own _conffiles_, configuration
files are fine though (from point 2).


Reply to: