summaryrefslogtreecommitdiffstats
path: root/meta/recipes-connectivity/dhcp/dhcp_4.2.5-P1.bb
diff options
context:
space:
mode:
authorHongxu Jia <hongxu.jia@windriver.com>2014-03-05 16:38:29 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-03-07 14:58:46 +0000
commit45bbd217c23c00145f209abc9ec02ae82f14eaba (patch)
tree2fa62c11391509cc2f5b65ec2a3bef84f31a0fde /meta/recipes-connectivity/dhcp/dhcp_4.2.5-P1.bb
parent41917e83b5afbf282a966361c0bb60d06a7a231e (diff)
downloadpoky-45bbd217c23c00145f209abc9ec02ae82f14eaba.tar.gz
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>
Diffstat (limited to 'meta/recipes-connectivity/dhcp/dhcp_4.2.5-P1.bb')
-rw-r--r--meta/recipes-connectivity/dhcp/dhcp_4.2.5-P1.bb1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-connectivity/dhcp/dhcp_4.2.5-P1.bb b/meta/recipes-connectivity/dhcp/dhcp_4.2.5-P1.bb
index 0c9f0dbdb1..77cdb4e813 100644
--- a/meta/recipes-connectivity/dhcp/dhcp_4.2.5-P1.bb
+++ b/meta/recipes-connectivity/dhcp/dhcp_4.2.5-P1.bb
@@ -6,6 +6,7 @@ SRC_URI += "file://dhcp-3.0.3-dhclient-dbus.patch;striplevel=0 \
6 file://fix-external-bind.patch \ 6 file://fix-external-bind.patch \
7 file://link-with-lcrypto.patch \ 7 file://link-with-lcrypto.patch \
8 file://fixsepbuild.patch \ 8 file://fixsepbuild.patch \
9 file://dhclient-script-drop-resolv.conf.dhclient.patch \
9 " 10 "
10 11
11SRC_URI[md5sum] = "f68e3c1f00a9af5742bc5e71d567cf93" 12SRC_URI[md5sum] = "f68e3c1f00a9af5742bc5e71d567cf93"