Wanlong Gao
2012-Oct-30 07:50 UTC
[Libguestfs] [PATCH 1/2] sysprep: remove fontconfig cache
Remove the cache files generated by fontconfig. Signed-off-by: Wanlong Gao <gaowanlong at cn.fujitsu.com> --- sysprep/sysprep_operation_logfiles.ml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/sysprep/sysprep_operation_logfiles.ml b/sysprep/sysprep_operation_logfiles.ml index a2b1585..1bca0dd 100644 --- a/sysprep/sysprep_operation_logfiles.ml +++ b/sysprep/sysprep_operation_logfiles.ml @@ -72,6 +72,9 @@ let globs = List.sort compare [ "/var/cache/gdm/*"; "/var/lib/AccountService/users/*"; "/var/lib/fprint/*"; (* Fingerprint service files *) + + (* fontconfig caches *) + "/var/cache/fontconfig/*"; ] let globs_as_pod = String.concat "\n" (List.map ((^) " ") globs) -- 1.8.0
Wanlong Gao
2012-Oct-30 07:50 UTC
[Libguestfs] [PATCH 2/2] sysprep: remove man pages cache
Remove the cache files generated by man-db. Signed-off-by: Wanlong Gao <gaowanlong at cn.fujitsu.com> --- sysprep/sysprep_operation_logfiles.ml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/sysprep/sysprep_operation_logfiles.ml b/sysprep/sysprep_operation_logfiles.ml index 1bca0dd..43fa33a 100644 --- a/sysprep/sysprep_operation_logfiles.ml +++ b/sysprep/sysprep_operation_logfiles.ml @@ -75,6 +75,9 @@ let globs = List.sort compare [ (* fontconfig caches *) "/var/cache/fontconfig/*"; + + (* man pages cache *) + "/var/cache/man/*"; ] let globs_as_pod = String.concat "\n" (List.map ((^) " ") globs) -- 1.8.0
Maybe Matching Threads
- [PATCH] sysprep: remove some Pegasus files, like certs (RHBZ#1041552).
- [PATCH 1/5] sysprep: remove /var/log/audit/audit.log
- [PATCH] sysprep: remove more anaconda and tuned logs (RHBZ#1039540).
- [PATCH] virt-sysprep:add logging feature
- [PATCH 4/5] sysprep: remove log file of ntp