Skip to contentSkip to conversation

dhcp: remove dhclient-script bash dependency

PATCH New Andre McCurdy 1 participant 1 message Jul 22, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 dhcp: remove dhclient-script bash dependency

Take the dash compatible IPv6 link-local address test from the Debian version of dhclient-script.

Note that although "echo -e" in the OE version of dhclient-script is technically bash specific too, it is supported by Busybox echo when Busybox is configured with CONFIG_FEATURE_FANCY_ECHO enabled (which is the default in the OE Busybox defconfig) therefore leave as-is.

---
 meta/recipes-connectivity/dhcp/dhcp.inc            |  1 -
 .../remove-dhclient-script-bash-dependency.patch   | 55 ++++++++++++++++++++++
 meta/recipes-connectivity/dhcp/dhcp_4.3.4.bb       |  1 +
 3 files changed, 56 insertions(+), 1 deletion(-)
 create mode 100644 meta/recipes-connectivity/dhcp/dhcp/remove-dhclient-script-bash-dependency.patch
meta/recipes-connectivity/dhcp/dhcp.inc +0 -1
index d237d58..421221f 100644
@@ -95,7 +95,6 @@ FILES_${PN}-server-config = "${sysconfdir}/default/dhcp-server ${sysconfdir}/dhc
 FILES_${PN}-relay = "${sbindir}/dhcrelay ${sysconfdir}/init.d/dhcp-relay ${sysconfdir}/default/dhcp-relay"
 
 FILES_${PN}-client = "${base_sbindir}/dhclient ${base_sbindir}/dhclient-script ${sysconfdir}/dhcp/dhclient.conf"
-RDEPENDS_${PN}-client = "bash"
 
 FILES_${PN}-omshell = "${bindir}/omshell"
 
meta/recipes-connectivity/dhcp/dhcp/remove-dhclient-script-bash-dependency.patch new file +55 -0

55 lines not on this page · raw message

meta/recipes-connectivity/dhcp/dhcp_4.3.4.bb +1 -0
index 9e08291..4151eb1 100644
@@ -8,6 +8,7 @@ SRC_URI += "file://dhcp-3.0.3-dhclient-dbus.patch;striplevel=0 \
             file://0001-site.h-enable-gentle-shutdown.patch \
             file://libxml2-configure-argument.patch \
             file://tweak-to-support-external-bind.patch \
+            file://remove-dhclient-script-bash-dependency.patch \
            "
 
 SRC_URI[md5sum] = "0138319fe2b788cf4bdf34fbeaf9ff54"
Signature · 1 line
1.9.1