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

Re: new port



On Tue, 21 Aug 2001, Wichert Akkerman wrote:

> Previously Wouter Verhelst wrote:
> > Or am I severely forgetting something? What would need to be done if we
> > would implement linux-arch style architectures?
> 
> I suspect it is simply hardcoded in too much code, documentation and
> peoples brains.

That's why I suggest using symlinks. There are three places in the archive
where an architecture's name is mentioned:
- dists/<name>/{main,contrib,non-free}/binary-<arch>
- dists/<name>/Contents-<arch>.gz
- The name of the actual .deb

Creating symlinks for the first two cases is not that hard, and since a
Packages file has a Filename: field, you don't need to create symlinks for 
the actual packages (before you say so: if any tool ignores that field,
the tool is buggy and should've been fixed with the implementation of 
package pools)

Tools building packages (should) use dpkg-architecture to find out what
architecture they are using. To avoid problems with that, if we don't
touch DEB_HOST_ARCH, but create something like DEB_HOST_ARCH_NEW (or a
better name, but I can't come up with something that at least looks sane
right now), that should work. Right?

Documentation will need to be changed, but ITMT, a README in the archive
can help out.

And no, I don't have a patch for people's brains ;-)

-- 
wouter dot verhelst at advalvas dot be

"Human knowledge belongs to the world"
  -- from the movie "Antitrust"



Reply to: