[lfs-dev] question re. configuring eudev

Bruce Dubbs bruce.dubbs at gmail.com
Thu Feb 26 13:27:09 PST 2015


Armin K. wrote:
> On 02/26/2015 04:27 PM, Bruce Dubbs wrote:
>> Alexey Orishko wrote:
>>> On Thu, Feb 26, 2015 at 12:35 PM, Alexey Orishko
>>> <alexey.orishko at gmail.com> wrote:
>>>> "Information about hardware devices is maintained in the
>>>> /etc/udev/hwdb.d and /usr/lib/udev/hwdb.d directories."
>>>
>>> Sorry about dir passage, was confused (not enough coffee in the morning).
>>>
>>>> Since /usr/lib/udev/hwdb.d directory is not created by udevadm, could
>>>> someone clarify:
>>>> - should /usr/lib/udev/hwdb.d be created during LFS build?
>>>> - who & how is using it?
>>>
>>> but still wonder about /usr/lib/udev ...
>>
>> Hmm.  I think the /usr/lib/udev/hwdb.d entry may be a leftover from when we extracted udev from systemd.  I'll investigate and probably remove it.

> It should be /lib/udev/hwdb.d for package installed databases, /etc/udev/hwdb.d
> for user installed databases (latter is empty by default.

I don't think that's right for eudev.  That package certainly installs the hwdb 
files in /etc/udev/hwdb.d/:


        udevhwdbdir:             /etc/udev/hwdb.d
        udevhwdbbin:             /etc/udev/hwdb.bin


Making install in hwdb
make[2]: Entering directory '/sources/eudev-2.1.1/hwdb'
make[3]: Entering directory '/sources/eudev-2.1.1/hwdb'
make[3]: Nothing to be done for 'install-exec-am'.
  /bin/mkdir -p '/etc/udev/hwdb.d'
  /usr/bin/install -c -m 644 20-OUI.hwdb 20-acpi-vendor.hwdb 
20-bluetooth-vendor-product.hwdb 20-pci-classes.hwdb 20-pci-vendor-model.hwdb 
20-sdio-classes.hwdb 20-sdio-vendor-model.hwdb 20-usb-classes.hwdb 
20-usb-vendor-model.hwdb 60-keyboard.hwdb '/etc/udev/hwdb.d'
make[3]: Leaving directory '/sources/eudev-2.1.1/hwdb'
make[2]: Leaving directory '/sources/eudev-2.1.1/hwdb'

   -- Bruce



More information about the lfs-dev mailing list