[Buildroot] [PATCH 1/2] udev: bump to 177

Yegor Yefremov yegor_sub1 at visionsystems.de
Fri Jan 20 07:49:16 UTC 2012


Am 19.01.2012 15:22, schrieb Arnout Vandecappelle:
> On Wednesday 18 January 2012 09:18:36 yegorslists at googlemail.com wrote:
>> From: Yegor Yefremov <yegorslists at googlemail.com>
>>
>> Signed-off-by: Yegor Yefremov <yegorslists at googlemail.com>
> Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout at mind.be>

Thanks for reviewing.
 
>> ---
>>  package/udev/Config.in |    9 ++++++++-
>>  package/udev/S10udev   |    2 +-
>>  package/udev/udev.mk   |   15 ++++++++++-----
>>  3 files changed, 19 insertions(+), 7 deletions(-)
>>
>> diff --git a/package/udev/Config.in b/package/udev/Config.in
>> index 391c718..e793496 100644
>> --- a/package/udev/Config.in
>> +++ b/package/udev/Config.in
>> @@ -1,6 +1,9 @@
>>  config BR2_PACKAGE_UDEV
>>  	bool "udev"
>>  	depends on BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_UDEV
>> +	select BR2_PACKAGE_E2FSPROGS
>> +	select BR2_PACKAGE_USBUTILS
> 
>  Are these dependencies really required now?  They're kind of
> silly if you don't have e2fs or USB on your target system...

At least with the same config options they are required. I haven't found any option to disable these dependencies.
 
>  If they are required now, can you add a comment about it to the
> commit message?

ACK

>> +	select BR2_PACKAGE_KMOD
>>  	help
>>  	  Userspace device daemon.
>>  
>> @@ -8,6 +11,11 @@ config BR2_PACKAGE_UDEV
>>  
>>  if BR2_PACKAGE_UDEV
>>  
>> +config BR2_PACKAGE_UDEV_RULES_GEN
>> +	bool "enable rules generator"
>> +	help
>> +	  Enable persistant rules generator
>> +
> 
>  Also please mention this option in the commit message.

ACK

> [snip]
>> diff --git a/package/udev/udev.mk b/package/udev/udev.mk
>> index 1825396..395899a 100644
>> --- a/package/udev/udev.mk
>> +++ b/package/udev/udev.mk
>> @@ -3,7 +3,7 @@
>>  # udev
>>  #
>>  #############################################################
>> -UDEV_VERSION = 173
>> +UDEV_VERSION = 177
>>  UDEV_SOURCE = udev-$(UDEV_VERSION).tar.bz2
>>  UDEV_SITE = $(BR2_KERNEL_MIRROR)/linux/utils/kernel/hotplug/
>>  UDEV_INSTALL_STAGING = YES
>> @@ -12,15 +12,20 @@ UDEV_CONF_OPT =			\
>>  	--sbindir=/sbin		\
>>  	--with-rootlibdir=/lib	\
>>  	--libexecdir=/lib/udev	\
>> +	--with-pci-ids-path=$(TARGET_DIR)/usr/share/hwdata/pci.ids	\
> 
>> +	--with-usb-ids-path=$(TARGET_DIR)/usr/share/hwdata/usb.ids	\
> 
>  I haven't actually ran it, but:
> 
> - I have the usb.ids in /usr/share/usb.ids
> 
> - I don't get pci.ids (that one should come from pciutils or directly
> from http://pciids.sourceforge.net/pci.ids)

You're right. I have over reacted, as I've seen that udev can't find usb.ids (usbutils dependency). hwdata is responsible for pci.ids, so I'll move it to extras case.
 
> - shouldn't the $(TARGET_DIR) be removed?

What do you mean? Why removing $(TARGET_DIR)?

>  Note that these comments have nothing to do with the version bump, so
> any changes should either go in a separate patch or be documented in the
> commit message (and extent the short message with 'and other fixes').

I'll include all the issues in my next commit message. All these changes are "bump related".

Best regards,
Yegor



More information about the buildroot mailing list