[lfs-dev] question re. configuring eudev

Armin K. krejzi at email.com
Thu Feb 26 14:11:55 PST 2015


On 02/26/2015 10:27 PM, Bruce Dubbs wrote:
> 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
> 

Ah, okay. I thought they were following the systemd-udev in that matter.

-- 
Note: My last name is not Krejzi.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://lists.linuxfromscratch.org/pipermail/lfs-dev/attachments/20150226/5df40cd1/attachment.sig>


More information about the lfs-dev mailing list