util-linux-ng: Don't depend on udev unless selected as IMAGE_DEV_MANAGER
authorAndreas Oberritter <obi@opendreambox.org>
Wed, 29 Sep 2010 10:36:28 +0000 (10:36 +0000)
committerKhem Raj <raj.khem@gmail.com>
Wed, 6 Oct 2010 22:32:03 +0000 (15:32 -0700)
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
recipes/util-linux-ng/util-linux-ng.inc

index 8f5df0e..bba5dad 100644 (file)
@@ -1,7 +1,7 @@
 DESCRIPTION = "Util-linux-ng is a suite of essential utilities for any Linux system."
 SECTION = "base"
 LICENSE = "GPL"
-DEPENDS = "udev zlib ncurses virtual/libintl"
+DEPENDS = "${@base_conditional('IMAGE_DEV_MANAGER', 'udev', 'udev', '', d)} zlib ncurses virtual/libintl"
 DEPENDS_virtclass-native = "zlib-native ncurses-native lzo-native gettext-native"
 
 inherit autotools gettext