From 9be901061e14b4f9a4ddd17e2e858bfc59e18c18 Mon Sep 17 00:00:00 2001 From: Florian Eckert Date: Mon, 28 May 2018 11:26:50 +0200 Subject: [PATCH] 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 --- include/feeds.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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),)