From f9946312dfdfb8163995cf7ddd0efb1e485fc977 Mon Sep 17 00:00:00 2001 From: Apachez Date: Thu, 24 Aug 2023 09:22:25 +0200 Subject: T5468: Remove unused manpages to free up space --- data/live-build-config/hooks/live/80-delete-docs.chroot | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'data/live-build-config/hooks') diff --git a/data/live-build-config/hooks/live/80-delete-docs.chroot b/data/live-build-config/hooks/live/80-delete-docs.chroot index ce18bc8f..33a6bf74 100755 --- a/data/live-build-config/hooks/live/80-delete-docs.chroot +++ b/data/live-build-config/hooks/live/80-delete-docs.chroot @@ -4,3 +4,8 @@ # Copyright/licenses files are ignored for deletion shopt -s extglob rm -rf /usr/share/doc/*/!(copyright*|README*) /usr/share/doc-base + +# We also do not need any manpages on the system since man-binary is missing. +# This also frees some space. +rm -rf /usr/share/man + -- cgit v1.2.3