summaryrefslogtreecommitdiff
path: root/data/live-build-config/hooks
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-02-01 22:47:49 +0100
committerChristian Poessinger <christian@poessinger.com>2020-02-01 22:47:49 +0100
commit07bb6dc21a3fd39f110ce00dd19ab46911063ef3 (patch)
tree3aa9eb1a143b907635af71202e5e3399f77f67ef /data/live-build-config/hooks
parent070f5067bac2bf125a129e5c55f419471637f00c (diff)
downloadvyos-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-xdata/live-build-config/hooks/live/80-delete-docs.chroot4
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