From 07bb6dc21a3fd39f110ce00dd19ab46911063ef3 Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Sat, 1 Feb 2020 22:47:49 +0100 Subject: hooks: delete unused documents from generated ISO We do not need any documentation on the system - this frees 43MB. --- data/live-build-config/hooks/live/80-delete-docs.chroot | 4 ++++ 1 file changed, 4 insertions(+) create mode 100755 data/live-build-config/hooks/live/80-delete-docs.chroot diff --git a/data/live-build-config/hooks/live/80-delete-docs.chroot b/data/live-build-config/hooks/live/80-delete-docs.chroot new file mode 100755 index 00000000..d08b8edd --- /dev/null +++ b/data/live-build-config/hooks/live/80-delete-docs.chroot @@ -0,0 +1,4 @@ +#!/bin/bash + +# We do not need any documentation on the system. This frees 43MB. +rm -rf /usr/share/doc /usr/share/doc-base /usr/share/docutils -- cgit v1.2.3