aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/util-linux-ng
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2010-10-09 10:44:36 +0200
committerKoen Kooi <koen@openembedded.org>2010-10-09 10:50:32 +0200
commit55845cdac649c66bb4ca72b81313e0a443ec40e1 (patch)
treeb24e8a7c663b65ace4a0b72559bf6eb0d0ba0c61 /recipes/util-linux-ng
parentf581ee319bbc3d15ae0c1dbf5f22f218e0e13e38 (diff)
downloadopenembedded-55845cdac649c66bb4ca72b81313e0a443ec40e1.tar.gz
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>
Diffstat (limited to 'recipes/util-linux-ng')
-rw-r--r--recipes/util-linux-ng/util-linux-ng.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/recipes/util-linux-ng/util-linux-ng.inc b/recipes/util-linux-ng/util-linux-ng.inc
index bba5dad442..993742f419 100644
--- a/recipes/util-linux-ng/util-linux-ng.inc
+++ b/recipes/util-linux-ng/util-linux-ng.inc
@@ -1,14 +1,14 @@
DESCRIPTION = "Util-linux-ng is a suite of essential utilities for any Linux system."
SECTION = "base"
LICENSE = "GPL"
-DEPENDS = "${@base_conditional('IMAGE_DEV_MANAGER', 'udev', 'udev', '', d)} zlib ncurses virtual/libintl"
+DEPENDS = "${@base_contains('DISTRO_FEATURES', 'pam', 'libpam', '', d)} udev zlib ncurses virtual/libintl"
DEPENDS_virtclass-native = "zlib-native ncurses-native lzo-native gettext-native"
inherit autotools gettext
DEFAULT_PREFERENCE = "-1"
-INC_PR = "r31"
+INC_PR = "r32"
# allows for a release candidate
RC ?= ""