diff options
author | Christian Poessinger <christian@poessinger.com> | 2020-02-01 22:47:49 +0100 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2020-02-01 22:47:49 +0100 |
commit | 07bb6dc21a3fd39f110ce00dd19ab46911063ef3 (patch) | |
tree | 3aa9eb1a143b907635af71202e5e3399f77f67ef /data/live-build-config/hooks | |
parent | 070f5067bac2bf125a129e5c55f419471637f00c (diff) | |
download | vyos-build-07bb6dc21a3fd39f110ce00dd19ab46911063ef3.tar.gz vyos-build-07bb6dc21a3fd39f110ce00dd19ab46911063ef3.zip |
hooks: delete unused documents from generated ISO
We do not need any documentation on the system - this frees 43MB.
Diffstat (limited to 'data/live-build-config/hooks')
-rwxr-xr-x | data/live-build-config/hooks/live/80-delete-docs.chroot | 4 |
1 files changed, 4 insertions, 0 deletions
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 |