diff options
author | Ed Bartosh <ed.bartosh@linux.intel.com> | 2015-04-07 12:03:06 +0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-04-10 18:10:26 +0100 |
commit | 16d8c895a4e1995c00e558a79a046a5eab721d06 (patch) | |
tree | 09c93c756f94a3c057542556018eb623a2a7b94f /scripts/lib/wic | |
parent | 024514037ddcc92de4f685f85bb916b2815fb47e (diff) | |
download | poky-16d8c895a4e1995c00e558a79a046a5eab721d06.tar.gz |
wic: make error message more informative
Included name of the missing program into the error message produced
by exec_native_cmd when program is not found.
Removed mentioning of the host programs as this API is not running
them anymore.
(From OE-Core rev: 7d1599cf6a55d3624d2b90c1f55e14c4df73e570)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/wic')
-rw-r--r-- | scripts/lib/wic/utils/oe/misc.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/lib/wic/utils/oe/misc.py b/scripts/lib/wic/utils/oe/misc.py index 5facbe0b70..7769f3ff72 100644 --- a/scripts/lib/wic/utils/oe/misc.py +++ b/scripts/lib/wic/utils/oe/misc.py | |||
@@ -92,9 +92,9 @@ def exec_native_cmd(cmd_and_args, native_sysroot, catch = 3): | |||
92 | rc, out = __exec_cmd(native_cmd_and_args, True, catch) | 92 | rc, out = __exec_cmd(native_cmd_and_args, True, catch) |
93 | 93 | ||
94 | if rc == 127: # shell command-not-found | 94 | if rc == 127: # shell command-not-found |
95 | msger.error("A native (host) program required to build the image " | 95 | msger.error("A native program %s required to build the image " |
96 | "was not found (see details above). Please make sure " | 96 | "was not found (see details above). Please make sure " |
97 | "it's installed and try again.") | 97 | "it's installed and try again." % args[0]) |
98 | 98 | ||
99 | return (rc, out) | 99 | return (rc, out) |
100 | 100 | ||