summaryrefslogtreecommitdiff
path: root/data/live-build-config/rootfs
diff options
context:
space:
mode:
authorApachez <apachez@gmail.com>2023-09-14 13:53:09 +0200
committerApachez <apachez@gmail.com>2023-09-14 13:53:09 +0200
commitfcee06ba7f3dcc28f996aab5a29e2d3d9aba56ae (patch)
tree0c4ebcf1dd83adb65bdd5bd27a8bb01a567f5c95 /data/live-build-config/rootfs
parent219c87ee025f64d11834da3d6f82cb63475ae4ed (diff)
downloadvyos-build-fcee06ba7f3dcc28f996aab5a29e2d3d9aba56ae.tar.gz
vyos-build-fcee06ba7f3dcc28f996aab5a29e2d3d9aba56ae.zip
T5511: Cleanup of unused directories (and files) in order to shrink image-size
Diffstat (limited to 'data/live-build-config/rootfs')
-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/*
+