Skip to contentSkip to conversation

Add udev dependency for multipath-tools package

PATCH In review Zibo Zhao 2 participants 2 messages Sep 23, 2014 – Sep 25, 2014

lore
Share & tools
lore

Zibo Zhao

author
#0 lore raw

PATCH 1/1 Add udev dependency for multipath-tools package

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.

---
 recipes-extended/multipath-tools/multipath-tools_git.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
recipes-extended/multipath-tools/multipath-tools_git.bb +1 -1
index 633b9f2..01d15dd 100644
@@ -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"
Signature · 1 line
1.9.1
#1 lore raw

Thanks Zibo,

I've merged the change.

Bruce

Quoted 41 lines · Zibo Zhao

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.

---
 recipes-extended/multipath-tools/multipath-tools_git.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
recipes-extended/multipath-tools/multipath-tools_git.bb +1 -2
index 633b9f2..01d15dd 100644
@@ -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

--
_______________________________________________
meta-virtualization mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-virtualization

Signature · 2 lines
"Thou shalt not follow the NULL pointer, for chaos and madness await
thee at its end"