mirror of
https://github.com/thead-yocto-mirror/meta-external-toolchain
synced 2026-09-18 13:12:16 +02:00
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 <kergoth@gmail.com>
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user