diff options
| author | Sergio Pastor Pérez <sergio.pastorperez@gmail.com> | 2025-03-27 23:36:52 +0100 |
|---|---|---|
| committer | Ludovic Courtès <ludo@gnu.org> | 2025-04-01 14:49:34 +0200 |
| commit | 354ffea7204fb00d4d129a6f4740ff1206086604 (patch) | |
| tree | fe845e942af85c53c74173e2b355adacefbc25ba /gnu/bootloader | |
| parent | 67d640ef36f2e599c84ab6acd3fc58b3b94369d8 (diff) | |
services: file-database: Search ‘updatedb’ in package.
`file-database-service-type' appends 'bin/updatedb' path to the `package'
field provided by `file-database-configuration'. This prevents users from
using alternate packages which also provide 'updatedb' but in a different
location.
For example, the `plocate' package installs 'updatedb' in 'sbin/updatedb'.
Fallback to 'sbin/' if 'updatedb' is not found in 'bin/'.
* gnu/services/admin.scm (<file-database-configuration>)[package]:
Update docstring.
(file-database-shepherd-services): Locate 'updatedb' binary.
* doc/guix.texi (File Search Services): Update accordingly.
Change-Id: Ic741716044be3a8f51a157510f9f923bd66c41d7
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Modified-by: Ludovic Courtès <ludo@gnu.org>
Diffstat (limited to 'gnu/bootloader')
0 files changed, 0 insertions, 0 deletions
