summaryrefslogtreecommitdiffstats
path: root/meta/recipes-connectivity/iproute2/iproute2/0001-iproute2-de-bash-scripts.patch
diff options
context:
space:
mode:
authorChanghyeok Bae <changhyeok.bae@gmail.com>2017-11-13 16:06:16 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-11-21 13:06:12 +0000
commiteac8b65515d3478e4350af7d09d2c365866f8d5b (patch)
tree253e924cbc72ef5c377be0cfa84be937d348ba26 /meta/recipes-connectivity/iproute2/iproute2/0001-iproute2-de-bash-scripts.patch
parentcf8aafe17ddd13a24c265d83f9c0a979bb2170f4 (diff)
downloadpoky-eac8b65515d3478e4350af7d09d2c365866f8d5b.tar.gz
iproute2: upgrade to 4.13
- 0001-include-stdint.h-explicitly-for-UINT16_MAX.patch is already applied to upstream. - Rebase two patches. (From OE-Core rev: 9839de8861c5fb2067664542045c0728653bbcb4) Signed-off-by: Changhyeok Bae <changhyeok.bae@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-connectivity/iproute2/iproute2/0001-iproute2-de-bash-scripts.patch')
-rw-r--r--meta/recipes-connectivity/iproute2/iproute2/0001-iproute2-de-bash-scripts.patch11
1 files changed, 5 insertions, 6 deletions
diff --git a/meta/recipes-connectivity/iproute2/iproute2/0001-iproute2-de-bash-scripts.patch b/meta/recipes-connectivity/iproute2/iproute2/0001-iproute2-de-bash-scripts.patch
index 39c7d40319..c3d3fea9c2 100644
--- a/meta/recipes-connectivity/iproute2/iproute2/0001-iproute2-de-bash-scripts.patch
+++ b/meta/recipes-connectivity/iproute2/iproute2/0001-iproute2-de-bash-scripts.patch
@@ -5,14 +5,13 @@ de-bash these two scripts to make iproute2 not depend on bash.
5Upstream-Status: Pending 5Upstream-Status: Pending
6 6
7Signed-off-by: Chen Qi <Qi.Chen@windriver.com> 7Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
8
9--- 8---
10 ip/ifcfg | 15 ++++++++------- 9 ip/ifcfg | 15 ++++++++-------
11 ip/rtpr | 2 +- 10 ip/rtpr | 2 +-
12 2 files changed, 9 insertions(+), 8 deletions(-) 11 2 files changed, 9 insertions(+), 8 deletions(-)
13 12
14diff --git a/ip/ifcfg b/ip/ifcfg 13diff --git a/ip/ifcfg b/ip/ifcfg
15index 083d9df..60bcf1f 100644 14index 30a2dc4..8677b2e 100644
16--- a/ip/ifcfg 15--- a/ip/ifcfg
17+++ b/ip/ifcfg 16+++ b/ip/ifcfg
18@@ -1,12 +1,13 @@ 17@@ -1,12 +1,13 @@
@@ -43,7 +42,7 @@ index 083d9df..60bcf1f 100644
43-ip route add unreachable 255.255.255.255 >& /dev/null 42-ip route add unreachable 255.255.255.255 >& /dev/null
44+ip route add unreachable 224.0.0.0/24 > /dev/null 2>&1 43+ip route add unreachable 224.0.0.0/24 > /dev/null 2>&1
45+ip route add unreachable 255.255.255.255 > /dev/null 2>&1 44+ip route add unreachable 255.255.255.255 > /dev/null 2>&1
46 if [ `ip link ls $dev | grep -c MULTICAST` -ge 1 ]; then 45 if [ "`ip link ls $dev | grep -c MULTICAST`" -ge 1 ]; then
47- ip route add 224.0.0.0/4 dev $dev scope global >& /dev/null 46- ip route add 224.0.0.0/4 dev $dev scope global >& /dev/null
48+ ip route add 224.0.0.0/4 dev $dev scope global > /dev/null 2>&1 47+ ip route add 224.0.0.0/4 dev $dev scope global > /dev/null 2>&1
49 fi 48 fi
@@ -60,5 +59,5 @@ index c3629fd..674198d 100644
60 exec tr "[\\\\]" "[ 59 exec tr "[\\\\]" "[
61 ]" 60 ]"
62-- 61--
631.7.9.5 622.7.4
64 63