Openembedded Core Discussions
 help / color / mirror / Atom feed
From: Tom Zanussi <tom.zanussi@linux.intel.com>
To: openembedded-core@lists.openembedded.org
Cc: Tom Zanussi <tom.zanussi@linux.intel.com>
Subject: [PATCH 0/2] wic: Fix PATH used to find commands and error if not found
Date: Wed, 19 Feb 2014 14:53:34 -0600	[thread overview]
Message-ID: <cover.1392842779.git.tom.zanussi@linux.intel.com> (raw)

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(-)

-- 
1.8.3.1



             reply	other threads:[~2014-02-19 20:53 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-02-19 20:53 Tom Zanussi [this message]
2014-02-19 20:53 ` [PATCH 1/2] wic: Fix exec_native_cmd() path Tom Zanussi
2014-02-19 20:53 ` [PATCH 2/2] wic: Make exec_native_command() fail if a command isn't found Tom Zanussi

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=cover.1392842779.git.tom.zanussi@linux.intel.com \
    --to=tom.zanussi@linux.intel.com \
    --cc=openembedded-core@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox