dhcp-client: fix invoke dhclient-script failed on Read-only file system
authorHongxu Jia <hongxu.jia@windriver.com>
Wed, 5 Mar 2014 08:38:29 +0000 (16:38 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 7 Mar 2014 14:58:46 +0000 (14:58 +0000)
commitaee17de39b644a9e121c0674b54e4c972a935a9b
treea101026c7933507b2e95136b8957d61b565d1118
parent728fd76f31f45ce43c32ebb65da20745174053ac
dhcp-client: fix invoke dhclient-script failed on Read-only file system

In read-only file system, '/etc' is on the readonly partition,
and '/etc/resolv.conf' is symlinked to a separate writable
partition.

In this situation, we should use shell variable to instead of
the temp file '/etc/resolv.conf.dhclient'.

[YOCTO #5624]
(From OE-Core rev: df793f4356b411cbb92445c4559c9b21eb6d99fc)

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-connectivity/dhcp/dhcp/dhclient-script-drop-resolv.conf.dhclient.patch [new file with mode: 0644]
meta/recipes-connectivity/dhcp/dhcp_4.2.5-P1.bb