mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
Revert "services/udev: Allow configuring udev to run in debug mode."
This reverts commit dd64f441d3
. Enabling debug
output for udevd apparently hangs the boot.
This commit is contained in:
parent
b821b80d46
commit
97be0a837e
2 changed files with 6 additions and 16 deletions
|
@ -15,7 +15,7 @@
|
|||
;;; Copyright © 2020, 2021 Brice Waegeneire <brice@waegenei.re>
|
||||
;;; Copyright © 2021 qblade <qblade@protonmail.com>
|
||||
;;; Copyright © 2021 Hui Lu <luhuins@163.com>
|
||||
;;; Copyright © 2021-2023, 2025 Maxim Cournoyer <maxim.cournoyer@gmail.com>
|
||||
;;; Copyright © 2021, 2022, 2023 Maxim Cournoyer <maxim.cournoyer@gmail.com>
|
||||
;;; Copyright © 2021, 2025 muradm <mail@muradm.net>
|
||||
;;; Copyright © 2022 Guillaume Le Vaillant <glv@posteo.net>
|
||||
;;; Copyright © 2022 Justin Veilleux <terramorpha@cock.li>
|
||||
|
@ -160,8 +160,6 @@
|
|||
|
||||
udev-configuration
|
||||
udev-configuration?
|
||||
udev-configuration-udev
|
||||
udev-configuration-debug?
|
||||
udev-configuration-rules
|
||||
udev-configuration-hardware
|
||||
udev-service-type
|
||||
|
@ -2412,8 +2410,6 @@ command that allows you to share pre-built binaries with others over HTTP.")))
|
|||
udev-configuration?
|
||||
(udev udev-configuration-udev ;file-like
|
||||
(default eudev))
|
||||
(debug? udev-configuration-debug? ;boolean
|
||||
(default #f))
|
||||
(rules udev-configuration-rules ;list of file-like
|
||||
(default '()))
|
||||
(hardware udev-configuration-hardware ;list of file-like
|
||||
|
@ -2556,10 +2552,7 @@ item of PACKAGES."
|
|||
(umask old-umask))
|
||||
|
||||
(let ((pid (fork+exec-command
|
||||
`(,udevd
|
||||
,@(if #$(udev-configuration-debug? config)
|
||||
'("--debug")
|
||||
'()))
|
||||
(list udevd)
|
||||
#:environment-variables
|
||||
(cons*
|
||||
;; The first one is for udev, the second one for
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue