Skip to content

[os] run updatedb as part of image build#211

Open
rroohhh wants to merge 1 commit into
mainfrom
updatedb
Open

[os] run updatedb as part of image build#211
rroohhh wants to merge 1 commit into
mainfrom
updatedb

Conversation

@rroohhh

@rroohhh rroohhh commented Sep 3, 2024

Copy link
Copy Markdown
Member

This should make locate work on first boot.
Furthermore this activates the systemd timer to daily update the database.
Currently we are using the default config for updatedb:

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.s3fs 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"
PRUNEPATHS = "/afs /media /mnt /net /sfs /tmp /udev /var/cache /var/lib/pacman/local /var/lock /var/run /var/spool /var/tmp"

Do we want to add any pruned paths?

Closes #191

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

"locate" does not work

1 participant