[meta-virtualization] [PATCH 1/1] Add udev dependency for multipath-tools package

Zibo Zhao zibo.zhao at windriver.com
Tue Sep 23 11:56:43 PDT 2014


mutipath-tools package has build time dependency on udev.
Without it, following build error will occur:
| discovery.c:14:21: fatal error: libudev.h: No such file or directory
| compilation terminated.
| make[1]: *** [discovery.o] Error 1
| make[1]: *** Waiting for unfinished jobs....
| config.c:8:21: fatal error: libudev.h: No such file or directory
| compilation terminated.
| make[1]: *** [config.o] Error 1
| structs.c:8:21: fatal error: libudev.h: No such file or directory
| compilation terminated.
| make[1]: *** [structs.o] Error 1

Add udev into DEPENDS to avoid build failures.

Signed-off-by: Zibo Zhao <zibo.zhao at windriver.com>
---
 recipes-extended/multipath-tools/multipath-tools_git.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/recipes-extended/multipath-tools/multipath-tools_git.bb b/recipes-extended/multipath-tools/multipath-tools_git.bb
index 633b9f2..01d15dd 100644
--- a/recipes-extended/multipath-tools/multipath-tools_git.bb
+++ b/recipes-extended/multipath-tools/multipath-tools_git.bb
@@ -3,7 +3,7 @@ DESCRIPTION = "This package provides the tools to manage multipathed devices by
 instructing the device-mapper multipath module what to do"
 
 HOMEPAGE = "http://christophe.varoqui.free.fr/"
-DEPENDS = "readline libaio lvm2"
+DEPENDS = "readline libaio lvm2 udev"
 LICENSE = "GPLv2"
 
 LIC_FILES_CHKSUM = "file://COPYING;md5=7be2873b6270e45abacc503abbe2aa3d"
-- 
1.9.1



More information about the meta-virtualization mailing list