diff options
author | Apachez <apachez@gmail.com> | 2023-09-14 13:53:09 +0200 |
---|---|---|
committer | Apachez <apachez@gmail.com> | 2023-09-14 13:53:09 +0200 |
commit | fcee06ba7f3dcc28f996aab5a29e2d3d9aba56ae (patch) | |
tree | 0c4ebcf1dd83adb65bdd5bd27a8bb01a567f5c95 /data | |
parent | 219c87ee025f64d11834da3d6f82cb63475ae4ed (diff) | |
download | vyos-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')
-rw-r--r-- | data/live-build-config/rootfs/excludes | 15 |
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/* + |