guix/gnu
Maxim Cournoyer e9fa17eb98
services: udev: Use a fixed location for the rules directory and config.
Fixes <https://issues.guix.gnu.org/47681>.

This change adjusts the location of the udev configuration file and rules
directory to a fixed location.  Since udev relies on inotify to discover
change to its rules directory (/etc/udev/rules.d), by using a fixed directory
layout, new udev rules can be automatically picked up without restarting the
service.

* gnu/services/base.scm (udev-rules-union): Build rules output directly
in #$output.
(udev-shepherd-service)[start]: Adjust the UDEV_CONFIG_FILE and
EUDEV_RULES_DIRECTORY environment variables.
[actions]: Remove field.  The 'rules' action is no longer useful.
(udev.conf): New variable.
(udev-etc): New procedure.
(udev-service-type): Extend the etc-service-type with it.
2022-02-20 19:58:14 -05:00
..
bootloader
build build: linux-boot: Expound docstring of the 'boot-system' procedure. 2022-02-17 13:39:02 -05:00
home
installer
machine
packages gnu: pict: Update to 3.7.3. 2022-02-20 18:52:54 -05:00
platforms
services services: udev: Use a fixed location for the rules directory and config. 2022-02-20 19:58:14 -05:00
system
tests
artwork.scm
bootloader.scm
ci.scm
home.scm
image.scm
installer.scm
local.mk gnu: postgresql-13: Fix building on riscv64-linux. 2022-02-20 12:34:23 +02:00
machine.scm
packages.scm
platform.scm
services.scm
system.scm
tests.scm