From: pandom79 <pandom79@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: [PR PATCH] mlocate : add updatedb.conf
Date: Wed, 05 May 2021 19:15:30 +0200 [thread overview]
Message-ID: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-30694@inbox.vuxu.org> (raw)
[-- Attachment #1: Type: text/plain, Size: 452 bytes --]
There is a new pull request by pandom79 against master on the void-packages repository
https://github.com/pandom79/void-packages mlocate
https://github.com/void-linux/void-packages/pull/30694
mlocate : add updatedb.conf
This configuration file could be useful to avoid slowdowns
when we reindex the data base with many snapshot for example,
but thare are
A patch file from https://github.com/void-linux/void-packages/pull/30694.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-mlocate-30694.patch --]
[-- Type: text/x-diff, Size: 1604 bytes --]
From cf19f88789fa61db6c38a09b732965e9386f1cfc Mon Sep 17 00:00:00 2001
From: Domenico Panella <pandom79@gmail.com>
Date: Wed, 5 May 2021 19:08:11 +0200
Subject: [PATCH] mlocate : add updatedb.conf
---
srcpkgs/mlocate/files/updatedb.conf | 4 ++++
srcpkgs/mlocate/template | 1 +
2 files changed, 5 insertions(+)
create mode 100644 srcpkgs/mlocate/files/updatedb.conf
diff --git a/srcpkgs/mlocate/files/updatedb.conf b/srcpkgs/mlocate/files/updatedb.conf
new file mode 100644
index 000000000000..c51ed7d43226
--- /dev/null
+++ b/srcpkgs/mlocate/files/updatedb.conf
@@ -0,0 +1,4 @@
+PRUNE_BIND_MOUNTS = "yes"
+PRUNEFS = "9p afs anon_inodefs auto autofs bdev binfmt_misc cgroup cifs coda configfs cpuset cramfs debugfs devpts devtmpfs ecryptfs exofs ftpfs fuse fuse.encfs fuse.sshfs fusectl gfs gfs2 hugetlbfs inotifyfs iso9660 jffs2 lustre mqueue ncpfs nfs nfs4 nfsd pipefs proc ramfs rootfs rpc_pipefs securityfs selinuxfs sfs shfs smbfs sockfs sshfs sysfs tmpfs ubifs udf usbfs vboxsf"
+PRUNENAMES = ".git .hg .svn .snapshots"
+PRUNEPATHS = "/afs /media /mnt /net /sfs /tmp /udev /var/cache /var/lock /var/run /var/spool /var/tmp"
diff --git a/srcpkgs/mlocate/template b/srcpkgs/mlocate/template
index 9571f8c387d1..1156aba580ae 100644
--- a/srcpkgs/mlocate/template
+++ b/srcpkgs/mlocate/template
@@ -27,4 +27,5 @@ post_install() {
vinstall ${FILESDIR}/mupdatedb.cron-daily 744 etc/cron.daily mupdatedb
# rename for compatibility with findutils.
mv ${DESTDIR}/usr/share/man/man8/mupdatedb.8 ${DESTDIR}/usr/share/man/man1/mupdatedb.1
+ vinstall ${FILESDIR}/updatedb.conf 744 etc/
}
next reply other threads:[~2021-05-05 17:15 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-05-05 17:15 pandom79 [this message]
2021-05-05 17:19 ` Duncaen
2021-05-05 17:19 ` Duncaen
2021-05-05 17:30 ` pandom79
2021-05-05 17:30 ` [PR PATCH] [Closed]: " pandom79
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-30694@inbox.vuxu.org \
--to=pandom79@users.noreply.github.com \
--cc=ml@inbox.vuxu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).