Skip to contentSkip to conversation

udev: bump version to 164, add optional support for all extras, depend on host-gperf

PATCH New heiko at zuerker.org 2 participants 3 messages Dec 26, 2010 – Jan 20, 2011 1 message not in the archive

lore
Share & tools
lore
#0 lore raw

PATCH v3 1/1 udev: bump version to 164, add optional support for all extras, depend on host-gperf

From: Heiko Zuerker <[email protected]>

---
 package/udev/Config.in            |   39 ++---------
 package/udev/libvolume_id.la.tmpl |   35 ----------
 package/udev/udev.mk              |  132 +++---------------------------------
 3 files changed, 18 insertions(+), 188 deletions(-)
 delete mode 100644 package/udev/libvolume_id.la.tmpl
package/udev/Config.in +7 -32
index 6438d4f..2c76cc7 100644
@@ -5,37 +5,12 @@ config BR2_PACKAGE_UDEV
 
 	  ftp://ftp.kernel.org/pub/linux/utils/kernel/hotplug/
 
-config BR2_PACKAGE_UDEV_UTILS
-	bool "udev-utils"
-	depends on BR2_PACKAGE_UDEV
+config BR2_PACKAGE_UDEV_ALL_EXTRAS
+	bool "enable all extras"
+	depends on BR2_PACKAGE_UDEV && BR2_PACKAGE_ACL && BR2_PACKAGE_LIBUSB && BR2_PACKAGE_LIBUSB_COMPAT && BR2_PACKAGE_USBUTILS && BR2_PACKAGE_HWDATA
 	help
-	  Adds the udevmonitor, udevinfo, and udevtest binaries
-	  to your filesystem.
+	  Enable all extras with external dependencies like
+	  libacl, libusb, libusb-compat, usbutils, hwdata
 
-menu "Extra udev tools"
-	depends on BR2_PACKAGE_UDEV
-
-config BR2_PACKAGE_UDEV_VOLUME_ID
-	bool "udev-libvolume_id"
-	depends on BR2_PACKAGE_UDEV
-	help
-	  Build and install volume identification library.
-
-config BR2_PACKAGE_UDEV_SCSI_ID
-	bool "udev-scsi_id"
-	depends on BR2_PACKAGE_UDEV_VOLUME_ID
-	help
-	  Build and install SCSI disk identification library.
-
-config BR2_PACKAGE_UDEV_PATH_ID
-	bool "udev-path_id"
-	depends on BR2_PACKAGE_UDEV_VOLUME_ID
-	help
-	  Install udev's unique device path generation program path_id.
-
-config BR2_PACKAGE_UDEV_FIRMWARE_SH
-	bool "udev-firmware_sh"
-	depends on BR2_PACKAGE_UDEV_VOLUME_ID
-	help
-	  Install udev's firmware loading script firmware.sh.
-endmenu
+comment "some additional udev extras require acl and libusb to be built"
+        depends on !BR2_PACKAGE_ACL || !BR2_PACKAGE_LIBUSB || !BR2_PACKAGE_LIBUSB_COMPAT || !BR2_PACKAGE_USBUTILS || !BR2_PACKAGE_HWDATA
package/udev/libvolume_id.la.tmpl deleted +0 -35
deleted file mode 100644
index 725628b..0000000
@@ -1,35 +0,0 @@
-# libvolume_id.la - a libtool library file
-# Generated by ltmain.sh - GNU libtool 1.5.22 (1.1220.2.365 2005/12/18 22:14:06)
-#
-# Please DO NOT delete this file!
-# It is necessary for linking the library.
-
-# The name that we can dlopen(3).
-dlname='libvolume_id.so.REPLACE_CURRENT'
-
-# Names of this library.
-library_names='libvolume_id.so.REPLACE_CURRENT.REPLACE_AGE.REPLACE_REVISION libvolume_id.so.REPLACE_CURRENT libvolume_id.so'
-
-# The name of the static archive.
-old_library='libvolume_id.a'
-
-# Libraries that this one depends upon.
-dependency_libs=' -lc'
-
-# Version information for libvolume_id.
-current=REPLACE_CURRENT
-age=REPLACE_AGE
-revision=REPLACE_REVISION
-
-# Is this an already installed library?
-installed=yes
-
-# Should we warn about portability when linking against -modules?
-shouldnotlink=no
-
-# Files to dlopen/dlpreopen
-dlopen=''
-dlpreopen=''
-
-# Directory that this library needs to be installed in:
-libdir='REPLACE_LIB_DIR'
package/udev/udev.mk +11 -121

143 lines not on this page · raw message

Signature · 1 line
1.7.3.2
#1 lore raw

PATCH v3 1/1 udev: bump version to 164, add optional support for all extras, depend on host-gperf

Quoted 10 lines · heiko at zuerker.org

From: Heiko Zuerker <[email protected]>

---
 package/udev/Config.in            |   39 ++---------
 package/udev/libvolume_id.la.tmpl |   35 ----------
 package/udev/udev.mk              |  132 +++---------------------------------
 3 files changed, 18 insertions(+), 188 deletions(-)
 delete mode 100644 package/udev/libvolume_id.la.tmpl

Did some quick testing and found a couple of things:

1) You're not installing the initscript.
Might be good that you do so, though it needs some work to get it rolling for the new version.

2) uclibc-0.9.31 lacks some support for new features needed. I've just submitted patches to the list to address this. I don't know if we want to do this for uclibc-0.9.30 too. 0.9.32/snapshot doesn't need them.

Other than that it works, though i just tested without extras.

A message that is not in the archive (sent off-list or not yet received): [email protected]

#3 lore raw

PATCH v3 1/1 udev: bump version to 164, add optional support for all extras, depend on host-gperf

Quoted 8 lines · Dan Pattison

Hello,

I would like your udev support patches for uclibc-0.9.30.1 please, so I could use a newer udev.

Thank you,

Dan Pattison

Try to keep replies on the list.
From a quick test the same patches apply to 0.9.30.3, so they should probably apply to 0.9.30.1 too.
If it works and other things aren't missing from the 0.9.30 series is completely unknown to me, i have no need to stick with old versions. Buildroot-wise 0.9.32 will probably be out soon (-rc2 out today) so there really isn't much interest in backporting things for 0.9.30. Regards.