Re: Python independant binary extensions
On Fri, 30 Jun 2006 at 19:00:02 +0200, Mike Hommey wrote:
> On Fri, Jun 30, 2006 at 06:43:22PM +0200, Josselin Mouette <email@example.com> wrote:
> > Le vendredi 30 juin 2006 à 17:38 +0200, Mike Hommey a écrit :
> > > On Fri, Jun 30, 2006 at 04:16:40PM +0200, Josselin Mouette <firstname.lastname@example.org> wrote:
> > > > Python-support already checks the md5sums of the files to install, but
> > > > it excludes the .so because files are moved to /usr/share and it would
> > > > violate the FHS. I also thought this would never happen.
> > > >
> > > > I can add the handling of this case by putting them e.g.
> > > > in /usr/lib/python-support/python-foo/all/.
Since they all end up in the same binary package, why not check for identical
.so files after dh_strip, and if some set of .so files are indeed identical,
hard-link them together?