]> code.ossystems Code Review - openembedded-core.git/commitdiff
wic: exec_native_cmd: improve debug message
authorEd Bartosh <ed.bartosh@linux.intel.com>
Tue, 21 Feb 2017 09:54:20 +0000 (11:54 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 4 Mar 2017 10:42:31 +0000 (10:42 +0000)
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 <ed.bartosh@linux.intel.com>
scripts/lib/wic/utils/misc.py

index 3bab2f1ea24ca8803b40dc865a0009d42993e68c..6769e3936d18435752a031cd2fbe6edfb19a4591 100644 (file)
@@ -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):