iproute2: update 4.14.1 -> 4.15.0
PATCH 1/2 iproute2: update 4.14.1 -> 4.15.0
0001-iproute2-de-bash-scripts.patch is applied in upstream repo.
Signed-off-by Changhyeok Bae <[email protected]>
---
.../iproute2/0001-iproute2-de-bash-scripts.patch | 63 ----------------------
.../{iproute2_4.14.1.bb => iproute2_4.15.0.bb} | 5 +-
2 files changed, 2 insertions(+), 66 deletions(-)
delete mode 100644 meta/recipes-connectivity/iproute2/iproute2/0001-iproute2-de-bash-scripts.patch
rename meta/recipes-connectivity/iproute2/{iproute2_4.14.1.bb => iproute2_4.15.0.bb} (65%)meta/recipes-connectivity/iproute2/iproute2/0001-iproute2-de-bash-scripts.patch deleted +0 -63
@@ -1,63 +0,0 @@ -Subject: [PATCH] iproute2: de-bash scripts - -de-bash these two scripts to make iproute2 not depend on bash. - -Upstream-Status: Pending - -Signed-off-by: Chen Qi <[email protected]> ---- - ip/ifcfg | 15 ++++++++------- - ip/rtpr | 2 +- - 2 files changed, 9 insertions(+), 8 deletions(-) - -diff --git a/ip/ifcfg b/ip/ifcfg -index 30a2dc4..8677b2e 100644 ---- a/ip/ifcfg -+++ b/ip/ifcfg -@@ -1,12 +1,13 @@ --#! /bin/bash -+#! /bin/sh - - CheckForwarding () { -- local sbase fwd -+ local sbase fwd forwarding - sbase=/proc/sys/net/ipv4/conf - fwd=0 - if [ -d $sbase ]; then - for dir in $sbase/*/forwarding; do -- fwd=$[$fwd + `cat $dir`] -+ forwarding=`cat $dir` -+ fwd=$(($fwd+$forwarding)) - done - else - fwd=2 -@@ -127,12 +128,12 @@ fi - arping -q -A -c 1 -I $dev $ipaddr - noarp=$? - ( sleep 2 ; -- arping -q -U -c 1 -I $dev $ipaddr ) >& /dev/null </dev/null & -+ arping -q -U -c 1 -I $dev $ipaddr ) > /dev/null 2>&1 </dev/null & - --ip route add unreachable 224.0.0.0/24 >& /dev/null --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 -- 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 - - if [ $fwd -eq 0 ]; then -diff --git a/ip/rtpr b/ip/rtpr -index c3629fd..674198d 100644 ---- a/ip/rtpr -+++ b/ip/rtpr -@@ -1,4 +1,4 @@ --#! /bin/bash -+#! /bin/sh - - exec tr "[\\\\]" "[ - ]" --- -2.7.4 -
meta/recipes-connectivity/iproute2/iproute2_4.15.0.bb renamed from meta/recipes-connectivity/iproute2/iproute2_4.14.1.bb +2 -3
@@ -2,13 +2,12 @@ require iproute2.inc SRC_URI = "${KERNELORG_MIRROR}/linux/utils/net/${BPN}/${BP}.tar.xz \ file://configure-cross.patch \ - file://0001-iproute2-de-bash-scripts.patch \ file://0001-libc-compat.h-add-musl-workaround.patch \ file://0001-ip-Remove-unneed-header.patch \ " -SRC_URI[md5sum] = "1075423d7029e02a8f23ed4f42b7e372" -SRC_URI[sha256sum] = "d43ac068afcc350a448f4581b6e292331ef7e4e7aa746e34981582d5fdb10067" +SRC_URI[md5sum] = "0681bf4664b2649ad4e12551a3a7a1f9" +SRC_URI[sha256sum] = "48d4616a99d7b609b7b795c0ae8ec57099fb0271ed89253e8772c02327798355" # CFLAGS are computed in Makefile and reference CCOPTS #
Signature · 1 line
2.7.4
PATCH 2/2 ethtool: update 4.13 -> 4.15
Signed-off-by Changhyeok Bae <[email protected]>
---
.../ethtool/ethtool/avoid_parallel_tests.patch | 21 +++++++++++++++------
.../ethtool/{ethtool_4.13.bb => ethtool_4.15.bb} | 4 ++--
2 files changed, 17 insertions(+), 8 deletions(-)
rename meta/recipes-extended/ethtool/{ethtool_4.13.bb => ethtool_4.15.bb} (88%)meta/recipes-extended/ethtool/ethtool/avoid_parallel_tests.patch +15 -6
@@ -1,3 +1,8 @@ +From d069dada68b063e386cdb61707f0b22fb1799029 Mon Sep 17 00:00:00 2001 +From: Tudor Florea <[email protected]> +Date: Wed, 28 May 2014 18:59:54 +0200 +Subject: [PATCH] ethtool: use serial-tests config needed by ptest. + ptest needs buildtest-TESTS and runtest-TESTS targets. serial-tests is required to generate those targets.
@@ -5,12 +10,16 @@ Signed-off-by: Tudor Florea <[email protected]> Upstream-Status: Inappropriate (default automake behavior incompatible with ptest) -Index: ethtool-4.13/configure.ac -=================================================================== ---- ethtool-4.13.orig/configure.ac -+++ ethtool-4.13/configure.ac -@@ -2,7 +2,7 @@ dnl Process this file with autoconf to p - AC_INIT(ethtool, 4.13, [email protected]) +--- + configure.ac | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/configure.ac b/configure.ac +index cb61a02..c75b9a9 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -2,7 +2,7 @@ dnl Process this file with autoconf to produce a configure script. + AC_INIT(ethtool, 4.15, [email protected]) AC_PREREQ(2.52) AC_CONFIG_SRCDIR([ethtool.c]) -AM_INIT_AUTOMAKE([gnu])
meta/recipes-extended/ethtool/ethtool_4.15.bb renamed from meta/recipes-extended/ethtool/ethtool_4.13.bb +2 -2
@@ -11,8 +11,8 @@ SRC_URI = "${KERNELORG_MIRROR}/software/network/ethtool/ethtool-${PV}.tar.gz \ file://avoid_parallel_tests.patch \ " -SRC_URI[md5sum] = "2ba44eb0ca96752392e9bf8dc83ba302" -SRC_URI[sha256sum] = "d311c4b557c44c5248ac5436b9e19c391a60d8e4830b6a7f41be16d89c0556de" +SRC_URI[md5sum] = "a4b83b35a4bc7d3646d973b0baf36c78" +SRC_URI[sha256sum] = "3996127fc22950b865287bd9d28c0aa3fcd44e914a5a4ef01de64872106dc178" inherit autotools ptest RDEPENDS_${PN}-ptest += "make"
Signature · 1 line
2.7.4