From 55cc7215ea670b8275a1fbbaebca4f7c81c67646 Mon Sep 17 00:00:00 2001 From: Zachary Lee Andrews Date: Fri, 23 Jul 2021 22:44:36 -0400 Subject: grep options change from gnu to posix fix issue #1167 --- include/tests_networking | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/tests_networking b/include/tests_networking index 6a33451c..ffd9242b 100644 --- a/include/tests_networking +++ b/include/tests_networking @@ -758,7 +758,7 @@ fi # Then additional modprobe configuration files if [ -d ${ROOTDIR}etc/modprobe.d ]; then - DATA=$(${GREPBINARY} --files-with-matches --no-messages "^install ${P} /bin/true" ${ROOTDIR}etc/modprobe.d/*) + DATA=$(${GREPBINARY} -l -s "^install ${P} /bin/true" ${ROOTDIR}etc/modprobe.d/*) if [ -n "${DATA}" ]; then UNCOMMON_PROTOCOL_DISABLED=1 for F in ${DATA}; do -- cgit v1.2.3 From 9ba09ac4087f5a9500634bdf103fb950b99b7364 Mon Sep 17 00:00:00 2001 From: Michael Boelen Date: Thu, 29 Jul 2021 14:52:29 +0200 Subject: Update tests_networking --- include/tests_networking | 1 + 1 file changed, 1 insertion(+) diff --git a/include/tests_networking b/include/tests_networking index ffd9242b..c615e6d0 100644 --- a/include/tests_networking +++ b/include/tests_networking @@ -758,6 +758,7 @@ fi # Then additional modprobe configuration files if [ -d ${ROOTDIR}etc/modprobe.d ]; then + # Return file names (-l) and suppress errors (-s) DATA=$(${GREPBINARY} -l -s "^install ${P} /bin/true" ${ROOTDIR}etc/modprobe.d/*) if [ -n "${DATA}" ]; then UNCOMMON_PROTOCOL_DISABLED=1 -- cgit v1.2.3