Aurelien Jarno pushed to branch sid at GNU Libc Maintainers / glibc


Commits:
cf50a0b4 by Luca Boccassi at 2022-09-19T22:01:50+01:00
libc6-<arch>: create merged-usr symlinks via preinst

There is a corner case on a merged-usr system that affects users
installing and then removing a libc6-<arch> package: the top-level
symlink gets removed, as the library is usually the last package to
install files there.

Add a preinst snippet that, if the system is merged-usr, creates the
top-level symlink used by the package. This way if it gets installed
and then removed, and then installed again, everything will work.
Note that this does not implement the full conversion, as that's the
responsibility of the usrmerge package (moving files, etc) - this
simply deals with the common case of the missing symlink.

Once all packages ship only files under /usr, hopefully in Trixie,
this can be removed.

Closes: #926699

- - - - -


1 changed file:

- + debian/debhelper.in/libc-alt.preinst


View it on GitLab: 
https://salsa.debian.org/glibc-team/glibc/-/commit/cf50a0b40745966ab86ece3afe7c6baa56b14813

-- 
View it on GitLab: 
https://salsa.debian.org/glibc-team/glibc/-/commit/cf50a0b40745966ab86ece3afe7c6baa56b14813
You're receiving this email because of your account on salsa.debian.org.


Reply via email to