This module is not being installed in any hostonly mode, which causes udev rules
that use the built-in hwdb program to fail. Always install it at least in sloppy
hostonly mode, and issue a warning in strict hostonly mode. This way, there
won't be any surprises with udev rules not working, and it can be manually
omitted if someone wants to save space.
Fixes #2534
# SPDX-License-Identifier: GPL-2.0-or-later
check() {
- if [[ $hostonly ]]; then
+ if [[ $hostonly_mode == "strict" ]]; then
+ dwarn "hwdb: module not automatically included in strict hostonly" \
+ "mode, udev rules that use the built-in hwdb program will fail."
return 255
fi