mirror of
https://gitlab.freedesktop.org/upower/upower.git
synced 2026-05-15 15:48:08 +02:00
This makes rule matching more efficient. We just need to copy the variables over into the hiddev device so that there is no need to change the C code to match the parent USB device. That said, the change in C wouldn't be that hard either. See https://github.com/networkupstools/nut/pull/1342
18 lines
220 B
Meson
18 lines
220 B
Meson
rules = [
|
|
'95-upower-wup.rules',
|
|
'95-upower-hid.rules',
|
|
]
|
|
|
|
hwdb = [
|
|
'95-upower-hid.hwdb',
|
|
]
|
|
|
|
install_data(
|
|
rules,
|
|
install_dir: udevrulesdir,
|
|
)
|
|
|
|
install_data(
|
|
hwdb,
|
|
install_dir: udevhwdbdir,
|
|
)
|