util-linux-ng: fix DEPENDS
authorKoen Kooi <koen@openembedded.org>
Sat, 9 Oct 2010 08:44:36 +0000 (10:44 +0200)
committerKoen Kooi <koen@openembedded.org>
Sat, 9 Oct 2010 08:50:32 +0000 (10:50 +0200)
commit55845cdac649c66bb4ca72b81313e0a443ec40e1
treeb24e8a7c663b65ace4a0b72559bf6eb0d0ba0c61
parentf581ee319bbc3d15ae0c1dbf5f22f218e0e13e38
util-linux-ng: fix DEPENDS

* it picks up pam from staging if it's built, so add it to DEPENDS with DISTRO_FEATURES guard
* remove bogus IMAGE_FEATURE check since u-l-ng is supposed to be used in images with or without udev

Recipes are not allowed to make compile decisions based on the image that's going to get built, since that breaks package management severely.

More to the point: What happens when you do 'bitbake util-linux-ng' and later do 'bitbake foo-image' where foo-image sets a different IMAGE_DEV_MANAGER?

Signed-off-by: Koen Kooi <koen@openembedded.org>
recipes/util-linux-ng/util-linux-ng.inc