From: Florian Eckert Date: Mon, 28 May 2018 09:26:50 +0000 (+0200) Subject: build: suppress error output in feeds.mk X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=9be901061e14b4f9a4ddd17e2e858bfc59e18c18;p=openwrt%2Fstaging%2Fstintel.git build: suppress error output in feeds.mk If no feed.conf or feeds.conf.default is found on image generation with the imagebuilder we always get the following message "Unable to open feeds configuration at /scripts/feeds line 48." on std error. To get rid off this needless warning on image generation with the imagebuilder supress the output in feeds.mk. Signed-off-by: Florian Eckert --- diff --git a/include/feeds.mk b/include/feeds.mk index 4d85a47599..9637424c5b 100644 --- a/include/feeds.mk +++ b/include/feeds.mk @@ -9,7 +9,7 @@ -include $(TMP_DIR)/.packageauxvars FEEDS_INSTALLED:=$(notdir $(wildcard $(TOPDIR)/package/feeds/*)) -FEEDS_AVAILABLE:=$(sort $(FEEDS_INSTALLED) $(shell $(SCRIPT_DIR)/feeds list -n)) +FEEDS_AVAILABLE:=$(sort $(FEEDS_INSTALLED) $(shell $(SCRIPT_DIR)/feeds list -n 2>/dev/null)) PACKAGE_SUBDIRS=$(PACKAGE_DIR) ifneq ($(CONFIG_PER_FEED_REPO),)