eudev-project / eudev

Repository for eudev development
GNU General Public License v2.0
521 stars 145 forks source link

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

Closed ghost closed 11 months ago

ghost commented 11 months 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 11 months ago

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