All of lore.kernel.org
 help / color / mirror / Atom feed
From: Alex Franco <alejandro.franco@linux.intel.com>
To: bitbake-devel@lists.openembedded.org
Cc: david.nystrom@enea.com, clarson@kergoth.com
Subject: [PATCHv3 0/1] Allow bitbake commands starting with do_
Date: Mon, 31 Aug 2015 15:56:08 -0500	[thread overview]
Message-ID: <1441054569-1661-1-git-send-email-alejandro.franco@linux.intel.com> (raw)

The output of "bitbake, -c listtasks pkg" lists tasks with their real names
(starting with "do_"), but then "bitbake -c do_task" fails, as "do_" always
gets unconditionally prepended to task names. This patch handles this error
by always removing "do_" from the beginning of task names when the runqueue
is being constructed.

[YOCTO #7818]

Changes since v1: removed regex, using string.replace
Changes since v2: removed string.replace, using slice

Signed-off-by: Alex Franco <alejandro.franco@linux.intel.com>

Alex Franco (1):
  Allow bitbake commands starting with do_

 bitbake/lib/bb/runqueue.py | 4 ++++
 1 file changed, 4 insertions(+)

-- 
2.5.1



             reply	other threads:[~2015-08-31 20:55 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-08-31 20:56 Alex Franco [this message]
2015-08-31 20:56 ` [PATCHv3 1/1] Allow bitbake commands starting with do_ Alex Franco
2015-09-01 21:44   ` Richard Purdie

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=1441054569-1661-1-git-send-email-alejandro.franco@linux.intel.com \
    --to=alejandro.franco@linux.intel.com \
    --cc=bitbake-devel@lists.openembedded.org \
    --cc=clarson@kergoth.com \
    --cc=david.nystrom@enea.com \
    /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.