diff options
author | Ed Bartosh <ed.bartosh@linux.intel.com> | 2017-02-21 11:54:20 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-03-04 23:18:18 +0000 |
commit | 97b07710c361dadb3da49f460a54c3856e653df3 (patch) | |
tree | e8da6a45fb3f75a7c98a1e5dcdb7c02dcb48a999 /scripts | |
parent | 35df4ad171a05b851977b74cfe6d8fb96a2a283e (diff) | |
download | poky-97b07710c361dadb3da49f460a54c3856e653df3.tar.gz |
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]
(From OE-Core rev: 3e78aa91aa07510a75ec2eecdd2dd00b1c583c26)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/lib/wic/utils/misc.py | 2 |
1 files changed, 1 insertions, 1 deletions
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=""): | |||
114 | native_sysroot, native_sysroot, native_sysroot) | 114 | native_sysroot, native_sysroot, native_sysroot) |
115 | native_cmd_and_args = "export PATH=%s:$PATH;%s" % \ | 115 | native_cmd_and_args = "export PATH=%s:$PATH;%s" % \ |
116 | (native_paths, cmd_and_args) | 116 | (native_paths, cmd_and_args) |
117 | logger.debug("exec_native_cmd: %s", cmd_and_args) | 117 | logger.debug("exec_native_cmd: %s", native_cmd_and_args) |
118 | 118 | ||
119 | # If the command isn't in the native sysroot say we failed. | 119 | # If the command isn't in the native sysroot say we failed. |
120 | if spawn.find_executable(args[0], native_paths): | 120 | if spawn.find_executable(args[0], native_paths): |