From 45bbd217c23c00145f209abc9ec02ae82f14eaba Mon Sep 17 00:00:00 2001 From: Hongxu Jia Date: Wed, 5 Mar 2014 16:38:29 +0800 Subject: 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 Signed-off-by: Saul Wold Signed-off-by: Richard Purdie --- meta/recipes-connectivity/dhcp/dhcp_4.2.5-P1.bb | 1 + 1 file changed, 1 insertion(+) (limited to 'meta/recipes-connectivity/dhcp/dhcp_4.2.5-P1.bb') 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 \ file://fix-external-bind.patch \ file://link-with-lcrypto.patch \ file://fixsepbuild.patch \ + file://dhclient-script-drop-resolv.conf.dhclient.patch \ " SRC_URI[md5sum] = "f68e3c1f00a9af5742bc5e71d567cf93" -- cgit v1.2.3-54-g00ecf