From 3e78aa91aa07510a75ec2eecdd2dd00b1c583c26 Mon Sep 17 00:00:00 2001 From: Ed Bartosh Date: Tue, 21 Feb 2017 11:54:20 +0200 Subject: 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 --- scripts/lib/wic/utils/misc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/lib/wic/utils/misc.py b/scripts/lib/wic/utils/misc.py index 3bab2f1ea2..6769e3936d 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): -- cgit 1.2.3-korg