summaryrefslogtreecommitdiff
path: root/data/live-build-config
diff options
context:
space:
mode:
Diffstat (limited to 'data/live-build-config')
-rw-r--r--data/live-build-config/rootfs/excludes15
1 files changed, 14 insertions, 1 deletions
diff --git a/data/live-build-config/rootfs/excludes b/data/live-build-config/rootfs/excludes
index aa9e8ef8..69f0bef7 100644
--- a/data/live-build-config/rootfs/excludes
+++ b/data/live-build-config/rootfs/excludes
@@ -1 +1,14 @@
-/var/cache/apt/*
+# Exclude various unused files and directories in order to free some space and shrink imagesize.
+#
+# For information on how to use wildcards properly (Anchored and Non-anchored excludes):
+#
+# https://github.com/plougher/squashfs-tools/blob/master/RELEASE-READMEs/README-3.3
+#
+# Note:
+#
+# - root starts without leading '/'.
+#
+
+# We do not need any caches on the system (will be recreated when needed).
+var/cache/*
+