]> git.wh0rd.org Git - home.git/commitdiff
check-services: ignore icon caches & memfd
authorMike Frysinger <vapier@gentoo.org>
Sat, 17 Feb 2018 02:09:22 +0000 (21:09 -0500)
committerMike Frysinger <vapier@gentoo.org>
Sat, 17 Feb 2018 02:09:22 +0000 (21:09 -0500)
.bin/gentoo-check-services

index 3ef7dba059ab9ebebad02526b1a3acd4085809dc..4b69880af8fea80876bed4f27c5a927b891d8b9c 100755 (executable)
@@ -17,6 +17,10 @@ import time
 IGNORE_PATHS = set((
        '/dev/zero',
        '/etc/ld.so.cache',
+       '/usr/share/icons/Adwaita/icon-theme.cache',
+       '/usr/share/icons/gnome/icon-theme.cache',
+       '/usr/share/icons/hicolor/icon-theme.cache',
+       '/usr/share/mime/mime.cache',
 ))
 
 
@@ -43,6 +47,7 @@ def find_svcs():
                        # Handle paths with spaces.
                        path = path.lstrip().rsplit(' ', 2)[0]
                        if (path == '/[aio]' or
+                           path.startswith('/memfd:') or
                            path.startswith('/SYSV') or
                            path.startswith('/dev/shm/') or
                            path.startswith('/tmp/')):