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

Re: Stop compressing manual pages



On Fri, 26 Dec 2025 at 11:51:40 +0100, Marc Haber wrote:
In embedded and other small installations, I'd prefer everyting under /usr/share/man just excluded from installations on the package manager level, but I never have been able to find out how to rub dpkg --path-exclude the right way to do that. While we're at it, exclude everything under /usr/share/doc with the exception of /usr/share/doc/*/copyright*

Here's how the semi-official debian:sid-slim, etc. Docker images do it:

https://github.com/debuerreotype/debuerreotype/blob/master/scripts/debuerreotype-slimify
https://github.com/debuerreotype/debuerreotype/blob/master/scripts/.slimify-excludes
(each non-comment line $x becomes "path-exclude $x" in /etc/dpkg.cfg.d/docker)
https://github.com/debuerreotype/debuerreotype/blob/master/scripts/.slimify-includes
(each non-comment line $x becomes "path-include $x" in /etc/dpkg.cfg.d/docker)

    smcv


Reply to: