mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
services/udev: Allow configuring udev to run in debug mode.
This re-introduces commit dd64f441d3
, which had
been reverted due to previously causing a system hang when debug? was enabled,
a problem that appears to have been resolved within Shepherd.
* gnu/services/base.scm (<udev-configuration>): <debug?>: New field.
* gnu/services/base.scm (udev-shepherd-service): Use it to add '--debug' to
the command line, if applicable.
* doc/guix.texi (Base Services): Document it.
Change-Id: I88243fb4f321ff0876dd227e3c2b22082d37cfcf
This commit is contained in:
parent
dde3ac664c
commit
bb8cc412c8
2 changed files with 17 additions and 6 deletions
|
@ -20384,17 +20384,21 @@ In an @code{operating-system} declaration, this service type can be
|
|||
@deftp {Data Type} udev-configuration
|
||||
Data type representing the configuration of udev.
|
||||
|
||||
@table @asis
|
||||
@item @code{udev} (default: @code{eudev}) (type: file-like)
|
||||
@table @code
|
||||
@item udev (default: @code{eudev}) (type: file-like)
|
||||
Package object of the udev service. This package is used at run-time,
|
||||
when compiled for the target system. In order to generate the
|
||||
@file{hwdb.bin} hardware index, it is also used when generating the
|
||||
system definition, compiled for the current system.
|
||||
|
||||
@item @code{rules} (default: @var{'()}) (type: list-of-file-like)
|
||||
@item debug? (default: @code{#f}) (type: boolean)
|
||||
Whether to enable debug output. The debug output is written to the
|
||||
system log, @file{/var/log/messages}.
|
||||
|
||||
@item rules (default: @code{'()}) (type: list-of-file-like)
|
||||
List of file-like objects denoting udev rule files under a sub-directory.
|
||||
|
||||
@item @code{hardware} (default: @var{'()}) (type: list-of-file-like)
|
||||
@item hardware (default: @code{'()}) (type: list-of-file-like)
|
||||
List of file-like objects denoting udev hardware description files under
|
||||
a sub-directory.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue