]> code.ossystems Code Review - openembedded-core.git/commit
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:57:39 +0000 (14:57 +0000)
commitdf793f4356b411cbb92445c4559c9b21eb6d99fc
treebc33700f5c447acd078d8eb21f0ffeb71e6f3e26
parentee4a68dd11d6c18681a6d3fdbcd7428136eaaf62
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]
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
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