From: Ed Bartosh Date: Tue, 21 Feb 2017 09:54:20 +0000 (+0200) Subject: wic: exec_native_cmd: improve debug message X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~22237 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3e78aa91aa07510a75ec2eecdd2dd00b1c583c26;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git wic: exec_native_cmd: improve debug message Added search paths to the debug message to make it easier to see where the native command is searched. [YOCTO #11017] Signed-off-by: Ed Bartosh --- diff --git a/scripts/lib/wic/utils/misc.py b/scripts/lib/wic/utils/misc.py index 3bab2f1ea24..6769e3936d1 100644 --- a/scripts/lib/wic/utils/misc.py +++ b/scripts/lib/wic/utils/misc.py @@ -114,7 +114,7 @@ def exec_native_cmd(cmd_and_args, native_sysroot, catch=3, pseudo=""): native_sysroot, native_sysroot, native_sysroot) native_cmd_and_args = "export PATH=%s:$PATH;%s" % \ (native_paths, cmd_and_args) - logger.debug("exec_native_cmd: %s", cmd_and_args) + logger.debug("exec_native_cmd: %s", native_cmd_and_args) # If the command isn't in the native sysroot say we failed. if spawn.find_executable(args[0], native_paths):