From 6a8532a67af9681eb36cad79692831947cbc8325 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miroslav=20Such=C3=BD?= Date: Thu, 14 May 2020 06:44:13 +0000 Subject: [PATCH] Add /var/lib/mock to PRUNEPATHS /var/lib/mock contains copy of OS. It is inteded for building packages. It usually contains duplicates to what you are looking for. E.g. ``` $ locate bash/FAQ /usr/share/doc/bash/FAQ /var/lib/mock/fedora-24-x86_64-28570-30325/root/usr/share/doc/bash/FAQ /var/lib/mock/fedora-24-x86_64-28683-31985/root/usr/share/doc/bash/FAQ /var/lib/mock/fedora-24-x86_64-29477-7840/root/usr/share/doc/bash/FAQ /var/lib/mock/fedora-24-x86_64-32229-16460/root/usr/share/doc/bash/FAQ /var/lib/mock/fedora-25-x86_64/root/usr/share/doc/bash/FAQ /var/lib/mock/fedora-25-x86_64-18827-15085/root/usr/share/doc/bash/FAQ /var/lib/mock/fedora-25-x86_64-27938-29561/root/usr/share/doc/bash/FAQ /var/lib/mock/fedora-25-x86_64-bootstrap-27938-29561/root/usr/share/doc/bash/FAQ /var/lib/mock/fedora-26-i386-999/root/usr/share/doc/bash/FAQ /var/lib/mock/fedora-26-i386-bootstrap-999/root/usr/share/doc/bash/FAQ /var/lib/mock/fedora-26-x86_64/root/usr/share/doc/bash/FAQ /var/lib/mock/fedora-28-x86_64/root/usr/share/doc/bash/FAQ /var/lib/mock/fedora-29-x86_64/root/usr/share/doc/bash/FAQ /var/lib/mock/fedora-30-x86_64/root/usr/share/doc/bash/FAQ /var/lib/mock/fedora-31-x86_64/root/usr/share/doc/bash/FAQ /var/lib/mock/fedora-31-x86_64-bootstrap/root/usr/share/doc/bash/FAQ /var/lib/mock/fedora-rawhide-x86_64/root/usr/share/doc/bash/FAQ /var/lib/mock/rhelbeta-8-x86_64/root/usr/share/doc/bash/FAQ ``` --- updatedb.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/updatedb.conf b/updatedb.conf index 8b0b8e1..86a96b4 100644 --- a/updatedb.conf +++ b/updatedb.conf @@ -1,4 +1,4 @@ PRUNE_BIND_MOUNTS = "yes" PRUNEFS = "9p afs anon_inodefs auto autofs bdev binfmt_misc cgroup cifs coda configfs cpuset debugfs devpts ecryptfs exofs fuse fuse.sshfs fusectl gfs gfs2 gpfs hugetlbfs inotifyfs iso9660 jffs2 lustre mqueue ncpfs nfs nfs4 nfsd pipefs proc ramfs rootfs rpc_pipefs securityfs selinuxfs sfs sockfs sysfs tmpfs ubifs udf usbfs ceph fuse.ceph" PRUNENAMES = ".git .hg .svn .bzr .arch-ids {arch} CVS" -PRUNEPATHS = "/afs /media /mnt /net /sfs /tmp /udev /var/cache/ccache /var/lib/yum/yumdb /var/lib/dnf/yumdb /var/spool/cups /var/spool/squid /var/tmp /var/lib/ceph" +PRUNEPATHS = "/afs /media /mnt /net /sfs /tmp /udev /var/cache/ccache /var/lib/yum/yumdb /var/lib/dnf/yumdb /var/spool/cups /var/spool/squid /var/tmp /var/lib/ceph /var/lib/mock"