Package: base-files
Version: 4.0.4
Severity: wishlist

Please include /etc/dpkg/origins/debian and a symlink
/etc/dpkg/origins/default -> debian in the base-files package.

The idea is that this symlink should let us detect the vendor of the
currently installed system. This facility will be used in dpkg to
offer customized build of Debian packages depending on the current system.
That way a single source could be shared betwen Debian and the derivatives
distributions that collaborate with the Debian maintainer (even when some
differences are needed).
See 
http://git.debian.org/?p=dpkg/dpkg.git;a=commitdiff;h=322153b6e8cbe50724f85678f46be5193a751a12
and http://bugs.debian.org/457371 for this precise use case.

We could keep those files in dpkg but we think it's best if they are part
of base-files since base-files is a package that any derivative has to
modify anyway and is also less complex than dpkg.

When you do that, please add a "Replaces: dpkg (<< 1.15)". 

You should aim to make it easy to drop a supplementary file in that
directory and update the symlink. So make sure the build system
automatically includes all files from the directory where you'll put the
files in the source tarball.

Feel free to comment on any point... this idea has been floating around in
the dpkg team since quite some time but it's always possible that we
missed some important point and we haven't had any recent discussion. I'll
forward this bug report to the debian-dpkg list so that people can comment
if needed.

Cheers,
-- 
Raphaël Hertzog

Le best-seller français mis à jour pour Debian Etch :
http://www.ouaza.com/livre/admin-debian/



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to