All of lore.kernel.org
 help / color / mirror / Atom feed
From: Alejandro Hernandez <alejandro.hernandez@linux.intel.com>
To: bitbake-devel@lists.openembedded.org
Subject: [PATCH 0/1] [daisy][dizzy] data.py: fixes bad substitution when running devshell
Date: Thu,  9 Apr 2015 15:21:48 -0500	[thread overview]
Message-ID: <1428610909-12661-1-git-send-email-alejandro.hernandez@linux.intel.com> (raw)

The following patch comes from: 0a791e91e55d30b328ddbd90fdb0d5911c388b96

Fixes variables passed incorrectly to shell, affecting tasks such as
devshell, menuconfig, etc.

[YOCTO #7389] affects both daisy and dizzy branches, including this patch fixes the issue.


Signed-off-by: Alejandro Hernandez <alejandro.hernandez@linux.intel.com>


Running bitbake inside make results in the exported environment variable
MAKEOVERRIDES="${-*-command-variables-*-}", which the shell chokes on
when trying to expand it. But of course, it probably shouldn't have been
trying to expand it in the first place -- so just escape the dollar
sign.

(Bitbake rev: 18cd0ce6a55c9065c3f1bf223b47d817b5efcd8f)

Signed-off-by: Richard Tollerton <rich.tollerton@ni.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
---
 bitbake/lib/bb/data.py | 1 +
 1 file changed, 1 insertion(+)



             reply	other threads:[~2015-04-09 20:21 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-04-09 20:21 Alejandro Hernandez [this message]
2015-04-09 20:21 ` [PATCH 1/1] [daisy][dizzy] data.py: fixes bad substitution when running devshell Alejandro Hernandez
2015-04-17  0:31   ` Martin Jansa
2015-04-17  0:31     ` [bitbake-devel] " Martin Jansa

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=1428610909-12661-1-git-send-email-alejandro.hernandez@linux.intel.com \
    --to=alejandro.hernandez@linux.intel.com \
    --cc=bitbake-devel@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.