From 4ecef3f5c7cafdc1ce55a3cc40f74eaf702a2de2 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Petr=20=C5=A0tetiar?= Date: Tue, 8 Sep 2020 08:47:34 +0200 Subject: [PATCH] phase1: dont include stderr output in stageroot variable MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Otherwise it can result in strange error messages which are hard to debug. Ref: http://lists.openwrt.org/pipermail/openwrt-devel/2020-August/030826.html Signed-off-by: Petr Å tetiar --- phase1/master.cfg | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/phase1/master.cfg b/phase1/master.cfg index edc4118..7186f5a 100644 --- a/phase1/master.cfg +++ b/phase1/master.cfg @@ -1019,7 +1019,8 @@ for target in targets: property = "stageroot", description = "Finding the rootfs staging directory", command=["make", "--no-print-directory", "val.STAGING_DIR_ROOT"], - env = { 'TOPDIR': Interpolate("%(kw:cwd)s/build", cwd=GetCwd) } + env = { 'TOPDIR': Interpolate("%(kw:cwd)s/build", cwd=GetCwd) }, + want_stderr = False )) factory.addStep(ShellCommand( -- 2.30.2