From b59f9c8cab0edad89a0799771e04483e45def345 Mon Sep 17 00:00:00 2001 From: Packet Please Date: Mon, 22 Aug 2022 03:31:15 +0200 Subject: [PATCH] Focus output on what's important --- build_feed | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/build_feed b/build_feed index e4210f0..3d221bf 100755 --- a/build_feed +++ b/build_feed @@ -1,5 +1,7 @@ #!/bin/bash +set -ex + if [ "$1" == "incontainer" ]; then cd /home/build/openwrt @@ -12,11 +14,16 @@ if [ "$1" == "incontainer" ]; then echo "$FEED_LINE" >> feeds.conf.default FEED_NAME=$(echo $FEED_LINE | awk '{print $2}') - ./scripts/feeds update -a # luci falter - ./scripts/feeds install -a -p "$FEED_NAME" - make defconfig - find feeds/$FEED_NAME -name Makefile | awk -F/ '{printf "package/%s/compile\n", $(NF - 1)}' | xargs make - make package/index + + ( + ./scripts/feeds update -a # luci falter + ./scripts/feeds install -a -p "$FEED_NAME" + make defconfig + find feeds/$FEED_NAME -name Makefile | awk -F/ '{printf "package/%s/compile\n", $(NF - 1)}' | xargs make V=s + make package/index V=s + ) |& grep -v 'warning: ignoring type redefinition' \ + | grep -v 'warning: defaults for choice' \ + | grep -v "linux/Makefile' has a dependency" else SDK_TAG="$1" FEED_LINE="$2"