diff options
| author | Andrei Dinu <andrei.adrianx.dinu@intel.com> | 2012-08-24 12:15:34 +0300 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-08-25 14:46:57 +0100 |
| commit | c33cfc6a8058c195e805c8fabc201db0dca60843 (patch) | |
| tree | 93388df466c1326136f93d0db27c77a2344f417c /meta/recipes-connectivity/dhcp/dhcp-4.2.4-P1/fix-client-path.patch | |
| parent | a08e3856b8dc55c3acbf59d12ffa6f64381f8749 (diff) | |
| download | poky-c33cfc6a8058c195e805c8fabc201db0dca60843.tar.gz | |
dhcp : upgrade to 4.2.4-P1
(From OE-Core rev: 5f68e2c4fb746ff798f9747776cc1f7620fb39dd)
Signed-off-by: Andrei Dinu <andrei.adrianx.dinu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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.patch | 23 |
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 @@ | |||
| 1 | CLIENT_PATH is the only environment when executing dhclient-script, | ||
| 2 | without this patch, dhclient-script won't run properly because it | ||
| 3 | invokes ifconfig and route | ||
| 4 | |||
| 5 | Upstream-Status: Inappropriate [configuration] | ||
| 6 | |||
| 7 | 7/28/2010 - qhe | ||
| 8 | |||
| 9 | diff -ru dhcp-4.1.1-P1.orig//client/Makefile.am dhcp-4.1.1-P1/client/Makefile.am | ||
| 10 | --- dhcp-4.1.1-P1.orig//client/Makefile.am 2010-07-29 13:20:05.000000000 +0800 | ||
| 11 | +++ dhcp-4.1.1-P1/client/Makefile.am 2010-07-29 13:28:14.000000000 +0800 | ||
| 12 | @@ -10,9 +10,9 @@ | ||
| 13 | EXTRA_DIST = $(man_MANS) | ||
| 14 | |||
| 15 | dhclient.o: dhclient.c | ||
| 16 | - $(COMPILE) -DCLIENT_PATH='"$(sbindir)"' \ | ||
| 17 | + $(COMPILE) -DCLIENT_PATH='"PATH=$(sbindir):$(base_sbindir):$(bindir):$(base_bindir)"' \ | ||
| 18 | -DLOCALSTATEDIR='"$(localstatedir)"' -c dhclient.c | ||
| 19 | |||
| 20 | dhc6.o: dhc6.c | ||
| 21 | - $(COMPILE) -DCLIENT_PATH='"$(sbindir)"' \ | ||
| 22 | + $(COMPILE) -DCLIENT_PATH='"PATH=$(sbindir):$(base_sbindir):$(bindir):$(base_bindir)"' \ | ||
| 23 | -DLOCALSTATEDIR='"$(localstatedir)"' -c dhc6.c | ||
