diff options
Diffstat (limited to 'meta/recipes-connectivity/dhcp/dhcp/0005-dhcp-client-fix-invoke-dhclient-script-failed-on-Rea.patch')
-rw-r--r-- | meta/recipes-connectivity/dhcp/dhcp/0005-dhcp-client-fix-invoke-dhclient-script-failed-on-Rea.patch | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/meta/recipes-connectivity/dhcp/dhcp/0005-dhcp-client-fix-invoke-dhclient-script-failed-on-Rea.patch b/meta/recipes-connectivity/dhcp/dhcp/0005-dhcp-client-fix-invoke-dhclient-script-failed-on-Rea.patch deleted file mode 100644 index dd56381b1d..0000000000 --- a/meta/recipes-connectivity/dhcp/dhcp/0005-dhcp-client-fix-invoke-dhclient-script-failed-on-Rea.patch +++ /dev/null | |||
@@ -1,36 +0,0 @@ | |||
1 | From 2e8ff0e4f6d39e346ea86b8c514ab4ccc78fa359 Mon Sep 17 00:00:00 2001 | ||
2 | From: Hongxu Jia <hongxu.jia@windriver.com> | ||
3 | Date: Tue, 15 Aug 2017 15:24:14 +0800 | ||
4 | Subject: [PATCH 05/11] dhcp-client: fix invoke dhclient-script failed on | ||
5 | Read-only file system | ||
6 | |||
7 | In read-only file system, '/etc' is on the readonly partition, | ||
8 | and '/etc/resolv.conf' is symlinked to a separate writable | ||
9 | partition. | ||
10 | |||
11 | In this situation, we create temp files 'resolv.conf.dhclient-new' | ||
12 | in /tmp dir. | ||
13 | |||
14 | Upstream-Status: Pending | ||
15 | |||
16 | Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> | ||
17 | --- | ||
18 | client/scripts/linux | 2 +- | ||
19 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
20 | |||
21 | diff --git a/client/scripts/linux b/client/scripts/linux | ||
22 | index 3d447b6..3122a75 100755 | ||
23 | --- a/client/scripts/linux | ||
24 | +++ b/client/scripts/linux | ||
25 | @@ -40,7 +40,7 @@ make_resolv_conf() { | ||
26 | # DHCPv4 | ||
27 | if [ -n "$new_domain_search" ] || [ -n "$new_domain_name" ] || | ||
28 | [ -n "$new_domain_name_servers" ]; then | ||
29 | - new_resolv_conf=/etc/resolv.conf.dhclient-new | ||
30 | + new_resolv_conf=/tmp/resolv.conf.dhclient-new | ||
31 | rm -f $new_resolv_conf | ||
32 | |||
33 | if [ -n "$new_domain_name" ]; then | ||
34 | -- | ||
35 | 1.8.3.1 | ||
36 | |||