mirror of
https://git.yoctoproject.org/poky
synced 2026-04-20 09:32:13 +02:00
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>
This commit is contained in:
committed by
Richard Purdie
parent
5badcf8168
commit
930540d90f
@@ -100,6 +100,7 @@ do_install_append () {
|
||||
PACKAGES += "dhcp-libs dhcp-server dhcp-server-config dhcp-client dhcp-relay dhcp-omshell"
|
||||
|
||||
PACKAGES_remove = "${PN}"
|
||||
RDEPENDS_${PN}-client += "${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'iproute2', '', d)}"
|
||||
RDEPENDS_${PN}-dev = ""
|
||||
RDEPENDS_${PN}-staticdev = ""
|
||||
FILES_${PN}-libs = "${libdir}/libdhcpctl.so.0* ${libdir}/libomapi.so.0* ${libdir}/libdhcp.so.0*"
|
||||
|
||||
Reference in New Issue
Block a user