summaryrefslogtreecommitdiff
path: root/meta/recipes-connectivity/dhcp/dhcp-4.2.4-P1/fix-client-path.patch
diff options
context:
space:
mode:
authorAndrei Dinu <andrei.adrianx.dinu@intel.com>2012-08-24 12:15:34 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-08-25 14:41:54 +0100
commit5f68e2c4fb746ff798f9747776cc1f7620fb39dd (patch)
tree55fff55cfd959f2e52e3426b6702aa975191a6bd /meta/recipes-connectivity/dhcp/dhcp-4.2.4-P1/fix-client-path.patch
parentc79fb25161b958b07fbfa965768754d51717d616 (diff)
downloadopenembedded-core-5f68e2c4fb746ff798f9747776cc1f7620fb39dd.tar.gz
openembedded-core-5f68e2c4fb746ff798f9747776cc1f7620fb39dd.tar.bz2
openembedded-core-5f68e2c4fb746ff798f9747776cc1f7620fb39dd.zip
dhcp : upgrade to 4.2.4-P1
Signed-off-by: Andrei Dinu <andrei.adrianx.dinu@intel.com>
Diffstat (limited to 'meta/recipes-connectivity/dhcp/dhcp-4.2.4-P1/fix-client-path.patch')
-rw-r--r--meta/recipes-connectivity/dhcp/dhcp-4.2.4-P1/fix-client-path.patch23
1 files changed, 23 insertions, 0 deletions
diff --git a/meta/recipes-connectivity/dhcp/dhcp-4.2.4-P1/fix-client-path.patch b/meta/recipes-connectivity/dhcp/dhcp-4.2.4-P1/fix-client-path.patch
new file mode 100644
index 0000000000..97ed0d9322
--- /dev/null
+++ b/meta/recipes-connectivity/dhcp/dhcp-4.2.4-P1/fix-client-path.patch
@@ -0,0 +1,23 @@
+CLIENT_PATH is the only environment when executing dhclient-script,
+without this patch, dhclient-script won't run properly because it
+invokes ifconfig and route
+
+Upstream-Status: Inappropriate [configuration]
+
+7/28/2010 - qhe
+
+diff -ru dhcp-4.1.1-P1.orig//client/Makefile.am dhcp-4.1.1-P1/client/Makefile.am
+--- dhcp-4.1.1-P1.orig//client/Makefile.am 2010-07-29 13:20:05.000000000 +0800
++++ dhcp-4.1.1-P1/client/Makefile.am 2010-07-29 13:28:14.000000000 +0800
+@@ -10,9 +10,9 @@
+ EXTRA_DIST = $(man_MANS)
+
+ dhclient.o: dhclient.c
+- $(COMPILE) -DCLIENT_PATH='"$(sbindir)"' \
++ $(COMPILE) -DCLIENT_PATH='"PATH=$(sbindir):$(base_sbindir):$(bindir):$(base_bindir)"' \
+ -DLOCALSTATEDIR='"$(localstatedir)"' -c dhclient.c
+
+ dhc6.o: dhc6.c
+- $(COMPILE) -DCLIENT_PATH='"$(sbindir)"' \
++ $(COMPILE) -DCLIENT_PATH='"PATH=$(sbindir):$(base_sbindir):$(bindir):$(base_bindir)"' \
+ -DLOCALSTATEDIR='"$(localstatedir)"' -c dhc6.c