aboutsummaryrefslogtreecommitdiffstats
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:02:44 +0000
commit9839de8861c5fb2067664542045c0728653bbcb4 (patch)
tree44005b13bc1134d540bb468c08bde1ec45f68a9f /meta/recipes-connectivity/iproute2/iproute2/0001-iproute2-de-bash-scripts.patch
parent638b4ac5279225b89edcd411e39aa2c22617dcd5 (diff)
downloadopenembedded-core-contrib-9839de8861c5fb2067664542045c0728653bbcb4.tar.gz
iproute2: upgrade to 4.13
- 0001-include-stdint.h-explicitly-for-UINT16_MAX.patch is already applied to upstream. - Rebase two patches. Signed-off-by: Changhyeok Bae <changhyeok.bae@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
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.
Upstream-Status: Pending
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
-
---
- ip/ifcfg | 15 ++++++++-------
- ip/rtpr | 2 +-
+ ip/ifcfg | 15 ++++++++-------
+ ip/rtpr | 2 +-
2 files changed, 9 insertions(+), 8 deletions(-)
diff --git a/ip/ifcfg b/ip/ifcfg
-index 083d9df..60bcf1f 100644
+index 30a2dc4..8677b2e 100644
--- a/ip/ifcfg
+++ b/ip/ifcfg
@@ -1,12 +1,13 @@
@@ -43,7 +42,7 @@ index 083d9df..60bcf1f 100644
-ip route add unreachable 255.255.255.255 >& /dev/null
+ip route add unreachable 224.0.0.0/24 > /dev/null 2>&1
+ip route add unreachable 255.255.255.255 > /dev/null 2>&1
- if [ `ip link ls $dev | grep -c MULTICAST` -ge 1 ]; then
+ if [ "`ip link ls $dev | grep -c MULTICAST`" -ge 1 ]; then
- ip route add 224.0.0.0/4 dev $dev scope global >& /dev/null
+ ip route add 224.0.0.0/4 dev $dev scope global > /dev/null 2>&1
fi
@@ -60,5 +59,5 @@ index c3629fd..674198d 100644
exec tr "[\\\\]" "[
]"
--
-1.7.9.5
+2.7.4