diff mbox

[22/28] dhcp: Fix DEPENDS/RDEPENDS

Message ID 740bbe530b7dcb8edd7b289a899a05fca22c6445.1397117164.git.christian.braunersorensen@prevas.dk
State Accepted
Delegated to: Esben Haabendal
Headers show

Commit Message

christian.braunersorensen@prevas.dk April 10, 2014, 8:09 a.m. UTC
From: Christian Sørensen <christian.braunersorensen@prevas.dk>

Signed-off-by: Christian Sørensen <christian.braunersorensen@prevas.dk>
---
 recipes/dhcp/dhcp4.inc | 11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)
diff mbox

Patch

diff --git a/recipes/dhcp/dhcp4.inc b/recipes/dhcp/dhcp4.inc
index 7dcb250..417cb9c 100644
--- a/recipes/dhcp/dhcp4.inc
+++ b/recipes/dhcp/dhcp4.inc
@@ -70,6 +70,8 @@  do_install_extra_files () {
 
 PACKAGES += "${PN}-server ${PN}-client ${PN}-relay ${PN}-omshell"
 
+COMMON_DEPENDS = "libdl libcrypto libdl libgcc libssl"
+
 FILES_${PN} = ""
 FILES_${PN}-server = "${sbindir}/dhcpd ${sysconfdir}/init.d/dhcp-server \
 	${sysconfdir}/default/dhcp-server ${sysconfdir}/dhcp/dhcpd.conf"
@@ -78,6 +80,13 @@  FILES_${PN}-relay = "${sbindir}/dhcrelay ${sysconfdir}/init.d/dhcp-relay \
 
 FILES_${PN}-client = "${base_sbindir}/dhclient ${base_sbindir}/dhclient-script \
 	${sysconfdir}/dhcp/dhclient.conf"
-RDEPENDS_${PN}-client = "sh"
+DEPENDS_${PN}-client = "${COMMON_DEPENDS}"
+RDEPENDS_${PN}-client = "sh ${COMMON_DEPENDS}"
+DEPENDS_${PN}-server = "libc ${COMMON_DEPENDS}"
+RDEPENDS_${PN}-server = "libc ${COMMON_DEPENDS}"
+DEPENDS_${PN}-relay = "libc ${COMMON_DEPENDS}"
+RDEPENDS_${PN}-relay = "libc ${COMMON_DEPENDS}"
+DEPENDS_${PN}-omshell = "libc ${COMMON_DEPENDS}"
+RDEPENDS_${PN}-omshell = "libc ${COMMON_DEPENDS}"
 
 FILES_${PN}-omshell = "${bindir}/omshell"