diff options
author | Mingli Yu <mingli.yu@windriver.com> | 2020-04-02 14:26:09 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-04-02 15:24:59 +0100 |
commit | 930540d90f1a1968cfab1ccf34e341db14c75632 (patch) | |
tree | 99e742e95166510d74d95fd25a0393437471ec5f | |
parent | 5badcf8168b7267c7f594cf07c109765a796c144 (diff) | |
download | poky-930540d90f1a1968cfab1ccf34e341db14c75632.tar.gz |
dhcp: add RDEPENDS for dhcp-client
Add iproute2 RDEPENDS for dhcp-client as
/sbin/dhclient-systemd-wrapper which called
by dhclient.service depends on ip command which
provided by iproute2 package when systemd enabled
in DISTRO_FEATURES.
(From OE-Core rev: 0c91fcba446418ad1f71d3df9aa3b186bbd353c7)
Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/recipes-connectivity/dhcp/dhcp.inc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-connectivity/dhcp/dhcp.inc b/meta/recipes-connectivity/dhcp/dhcp.inc index c4697beaf1..d46130d49b 100644 --- a/meta/recipes-connectivity/dhcp/dhcp.inc +++ b/meta/recipes-connectivity/dhcp/dhcp.inc | |||
@@ -100,6 +100,7 @@ do_install_append () { | |||
100 | PACKAGES += "dhcp-libs dhcp-server dhcp-server-config dhcp-client dhcp-relay dhcp-omshell" | 100 | PACKAGES += "dhcp-libs dhcp-server dhcp-server-config dhcp-client dhcp-relay dhcp-omshell" |
101 | 101 | ||
102 | PACKAGES_remove = "${PN}" | 102 | PACKAGES_remove = "${PN}" |
103 | RDEPENDS_${PN}-client += "${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'iproute2', '', d)}" | ||
103 | RDEPENDS_${PN}-dev = "" | 104 | RDEPENDS_${PN}-dev = "" |
104 | RDEPENDS_${PN}-staticdev = "" | 105 | RDEPENDS_${PN}-staticdev = "" |
105 | FILES_${PN}-libs = "${libdir}/libdhcpctl.so.0* ${libdir}/libomapi.so.0* ${libdir}/libdhcp.so.0*" | 106 | FILES_${PN}-libs = "${libdir}/libdhcpctl.so.0* ${libdir}/libomapi.so.0* ${libdir}/libdhcp.so.0*" |