From 6ffb77e4c98358977f13b94e1dc7fc0325eaed9a Mon Sep 17 00:00:00 2001 From: Christopher Larson Date: Mon, 20 Apr 2015 13:16:10 -0700 Subject: [PATCH] external-run: use debug messages, not warnings While these messages are useful when debugging, the warnings clutter up the log due to running before our sanity checks, potentially confusing the user. Signed-off-by: Christopher Larson --- conf/distro/include/external-run.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/conf/distro/include/external-run.inc b/conf/distro/include/external-run.inc index c9dd175..8d77a55 100644 --- a/conf/distro/include/external-run.inc +++ b/conf/distro/include/external-run.inc @@ -12,10 +12,10 @@ def external_run(d, cmd, *args): output = oe.path.check_output(args, cwd=topdir, stderr=subprocess.STDOUT) except oe.path.CalledProcessError as exc: import pipes - bb.warn("{0} failed: {1}".format(' '.join(pipes.quote(a) for a in args), exc.output)) + bb.debug(1, "{0} failed: {1}".format(' '.join(pipes.quote(a) for a in args), exc.output)) except OSError as exc: import pipes - bb.warn("{0} failed: {1}".format(' '.join(pipes.quote(a) for a in args), str(exc))) + bb.debug(1, "{0} failed: {1}".format(' '.join(pipes.quote(a) for a in args), str(exc))) else: return output