libera/#eudev/ Tuesday, 2023-09-19

vivienHello! I’m trying to update eudev from 3.2.11 to 3.2.12, for Guix, and I noticed udevadm hwdb --update now updates /etc/udev/hwdb.bin instead of <prefix>/etc/udev/hwdb.bin. I can use --root=<prefix>, to write <prefix>/etc/udev/hwdb.bin (previously it would be <prefix>/<prefix>/etc/udev/hwdb.bin) but then the hwdb.bin file is suspiciously small. Am I doing it correctly?08:04
bb|hcbvivien: I just tried and it produces a 9.7MB file; sounds like eudev does not see /lib/udev/hwdb.d/* ?12:36
vivienbb|hcb, thanks. There is no /lib/udev/hwdb.d. I have <prefix>/etc/udev/hwdb.d however, containing the bunch of .hwdb files. Is it possible to use these?13:03
bb|hcbThe ones in etc are expected to be user provided, the ones in /usr/lib are the default set coming with eudev13:06
bb|hcbI have no idea what is the filesystem layout in Guix, but as long as eudev is configured to find those files, it will be ok13:09
vivienbb|hcb, but Makefile.am installs the eudev-distributed files under "udevhwdbdir", which expands to ${sysconfdir}/udev/hwdb.d13:10
vivienShould I move them to /lib/udev/hwdb.d after installation?13:11
vivienOh I guess eudev suggests some files and I have to make the decision to allow them or not13:14
Arsen 21:05:55 <dormito> anyone have any links/docs for what this "sticky tags API" is (I found the eudev issue for it, but it doesn't seem to discus what the API actually is or does)?13:17
Arsenthe udev docs13:17
vivienbb|hcb, thank you, I built the hwdb with --usr so that it generated /lib/udev/hwdb.bin and then used that one.13:22

Generated by irclog2html.py 2.17.0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!