summaryrefslogtreecommitdiffstats
path: root/config/chroot_local-hooks/98-remove_unwanted_files
diff options
context:
space:
mode:
Diffstat (limited to 'config/chroot_local-hooks/98-remove_unwanted_files')
-rwxr-xr-xconfig/chroot_local-hooks/98-remove_unwanted_files6
1 files changed, 6 insertions, 0 deletions
diff --git a/config/chroot_local-hooks/98-remove_unwanted_files b/config/chroot_local-hooks/98-remove_unwanted_files
index 43433fb..637ac28 100755
--- a/config/chroot_local-hooks/98-remove_unwanted_files
+++ b/config/chroot_local-hooks/98-remove_unwanted_files
@@ -18,6 +18,9 @@ rm $POTFILES_DOT_IN
# (by the 10-tbb hook)
rm /usr/share/tails/tbb-*.txt
+# This shell library is only used during build
+rm /usr/local/lib/tails-shell-library/build.sh
+
# Prevent races between MAC spoofing and interface naming
rm /lib/udev/rules.d/75-persistent-net-generator.rules
@@ -35,3 +38,6 @@ update-ca-certificates
# debugging (and slightly make things easier for malware, perhaps) and
# otherwise just occupy disk space.
rm -f /boot/*.map /boot/*.map-*
+
+# Remove text dump of uBlock settings file
+rm -rf /usr/share/tails/ublock-origin/