Generate hwdb.bin during/after systemd build
systemd-udevd normally generates /etc/udev/hwdb.bin
file, which is used by at least libusb to identify device's vendor/model by it's bus id. This human-readable text could be later used by apps that invoke e.g. lsusb
.
/etc/udev/hwdb.bin
can be generated with udevadm hwdb --update
or systemd-hwdb --update
.
Since neither udevadm
nor systemd-hwdb
is available in runtime, and /etc
isn't writable, the only option for apps to acquire hwdb.bin
is to build systemd or eudev themselves (currently, Steam flatpak bundles eudev).