mirror of
https://github.com/systemd/systemd.git
synced 2024-11-23 18:23:32 +08:00
meson: libudev_core and udevadm should have LOG_REALM=LOG_REALM_UDEV (#7666)
Otherwise, setting udev_log=debug in /etc/udev/udev.conf has no effects since systemd-udevd is built with LOG_REALM=LOG_REALM_UDEV. However using LOG_REALM_UDEV (for libudev_core) reveals another similar bug for udevadm which should also define LOG_REALM_UDEV.
This commit is contained in:
parent
8769525f57
commit
6671e818e9
@ -2275,6 +2275,7 @@ public_programs += [exe]
|
||||
|
||||
exe = executable('udevadm',
|
||||
udevadm_sources,
|
||||
c_args : ['-DLOG_REALM=LOG_REALM_UDEV'],
|
||||
include_directories : includes,
|
||||
link_with : [libudev_core,
|
||||
libsystemd_network,
|
||||
|
@ -130,6 +130,7 @@ libudev_core = static_library(
|
||||
link_config_gperf_c,
|
||||
keyboard_keys_from_name_h,
|
||||
include_directories : libudev_core_includes,
|
||||
c_args : ['-DLOG_REALM=LOG_REALM_UDEV'],
|
||||
link_with : udev_link_with,
|
||||
dependencies : [libblkid, libkmod])
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user