eudev-project / eudev

Repository for eudev development
GNU General Public License v2.0
529 stars 144 forks source link

Dynamically get the udevadm hwdb files with a path variable #262

Closed ghost closed 1 year ago

ghost commented 1 year ago

Dear eudev developers,

It would be useful for a Guix package to let udevadm hwdb --update collect hwdb files from different places in the file system. Usually, this is done with a search path. Here I introduce UDEV_HWDB_PATH, which is searched when compiling hwdb.bin, for hwdb files, in addition to /etc/udev/hwdb.d and /lib/udev/hwdb.d.

What do you think?

Best regards,

Vivien Kraus

ghost commented 1 year ago

I think I applied the requested changes, or responded in the commit message and/or in comments.