[Buildroot] [PATCH v6 3/5] udev: convert to virtual package.

Peter Korsgaard jacmet at uclibc.org
Wed Feb 5 12:52:55 UTC 2014


>>>>> "Thomas" == Thomas De Schampheleire <patrickdepinguin at gmail.com> writes:

Hi,

 >> I find it odd that some packages depend on
 >> BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_UDEV whereas others depend on
 >> BR2_PACKAGE_UDEV. To me, both symbols are interpreted as "the package needs a
 >> udev daemon to talk to at runtime" (whether via D-Bus or libudev). So I
 >> replaced both with BR2_PACKAGE_HAS_UDEV to be homogeneous. It is true that if
 >> a package depends on BR2_PACKAGE_HAS_UDEV, it is not explicitly said if it is
 >> a runtime or a build dependency. But, AFAIK, programs that want to communicate
 >> with the udev daemon do it via libudev/libgudev, so we end up with a build
 >> dependency.
 >> 
 >> In system/Config.in, I removed BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_UDEV because
 >> I want the user to understand the change: he/she should not think of 'udev' as
 >> a package, but as a feature which, at this stage, is only available via eudev.
 >> I could have kept BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_UDEV and have it select
 >> BR2_PACKAGE_EUDEV, but I've found it confusing.
 >> 
 >> But I should have added BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_UDEV in
 >> Config.in.legacy to migrate to BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_EUDEV.
 >> 
 >> In the end, the user selects BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_EUDEV, which
 >> selects BR2_PACKAGE_EUDEV, which in turn selects BR2_PACKAGE_HAS_UDEV. All the
 >> packages depending on it are now available.

 > Based on your additional input, and rechecking the changes, I
 > understand your reasoning and accept it.
 > You still should add the legacy symbol, though.

 > Peter, what about you?

With the legacy handling added I'm fine with the rename.

-- 
Bye, Peter Korsgaard


More information about the buildroot mailing list