Skip to content

wic: Fix PATH used to find commands and error if not found

Tom Zanussi openembedded-core 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2wic: Fix exec_native_cmd() pathscripts/lib/mic/utils/oe/misc.py+1 -10 replies
2/2wic: Make exec_native_command() fail if a command isn't foundscripts/lib/mic/utils/oe/misc.py+9 -20 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] wic: Fix PATH used to find commands and error if not found

This fixes a problem noticed when building images in that a non-bootable image can silently be produced if a command used to build the image isn't found. The first problem is that the only the first element of the PATH was being used to look for commands, and the second is that no error is produced even if the command isn't found.

The following changes since commit 54562006c1327c5b99daa4cc05a3ba7e38412da1:

image_types.bbclass: Fix tar IMAGE_CMD to not change directories (2014-02-18 08:38:52 +0000)

are available in the git repository at:

git://git.yoctoproject.org/poky-contrib.git tzanussi/wic-native-fix
http://git.yoctoproject.org/cgit/cgit.cgi/poky-contrib/log/?h=tzanussi/wic-native-fix

Tom Zanussi (2):
wic: Fix exec_native_cmd() path
wic: Make exec_native_command() fail if a command isn't found

 scripts/lib/mic/utils/oe/misc.py | 13 ++++++++++---
 1 file changed, 10 insertions(+), 3 deletions(-)
Signature · 1 line
1.8.3.1