[Mesa-dev] [Bug 83723] megadriver hardlinks problems

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Sep 10 15:36:30 PDT 2014


https://bugs.freedesktop.org/show_bug.cgi?id=83723

Emil Velikov <emil.l.velikov at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |NOTABUG

--- Comment #1 from Emil Velikov <emil.l.velikov at gmail.com> ---
(In reply to comment #0)
> A couple of side effects for distribution packages since megadrivers and
> using hardlinks:
> 1) hardlinks get copied as different files on packages, each one occupying
> the same size, unless a trick is used to keep the hardlinks. In Debian and
> Ubuntu the workaround is applied correctly
Not sure why you'll call it a "trick" but if you insist.

> 2) only one debug file is provided, ignoring the hardlinked files, see
> Debian bug:
> https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=755921
> Workaround is simple (manually create symlinks), but not used currently.
> 
Getting a debug package for Archlinux and Fedora seems to work like a charm.
All the files are where they should be, and the package contains only one copy
of the debug symbols while the rest of the files hardlink to it.

This might be a nice way/time for Debian's dh_strip to "catch-up" :P

> No idea if there is a better approach (symlinks rather than hardlinks?),
> just writing here to document it, otherwise this can be closed.
>
Why hardlinks:
 * The only way to get old libGL with new megadriver dri modules working.
 * There was another case but I don't quite recall the details.
 * One less file to worry about (and to get wrong) :)

Kind request - please fix/enhance dh_strip :)

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20140910/e10ddbd4/attachment-0001.html>


More information about the mesa-dev mailing list