From fcee06ba7f3dcc28f996aab5a29e2d3d9aba56ae Mon Sep 17 00:00:00 2001 From: Apachez Date: Thu, 14 Sep 2023 13:53:09 +0200 Subject: T5511: Cleanup of unused directories (and files) in order to shrink image-size --- data/live-build-config/rootfs/excludes | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) (limited to 'data') 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/* + -- cgit v1.2.3