From: Darren Hart <dvhart@linux.intel.com>
To: Richard Purdie <richard.purdie@linuxfoundation.org>
Cc: Koen Kooi <koen@dominion.thruhere.net>,
Chris Larson <clarson@kergoth.com>,
openembedded-core@lists.openembedded.org
Subject: Re: [PATCH 1/2] u-boot: remove UBOOT_MACHINE and COMPATIBLE_MACHINES
Date: Thu, 26 May 2011 20:43:25 -0700 [thread overview]
Message-ID: <4DDF1DDD.30001@linux.intel.com> (raw)
In-Reply-To: <1306452282.27470.214.camel@rex>
On 05/26/2011 04:24 PM, Richard Purdie wrote:
> On Thu, 2011-05-26 at 14:12 -0700, Darren Hart wrote:
>> Note: I used bb.note() instead of bb.debug() to ensure the message at least
>> makes it to the console. From what I could gather, bb.debug() doesn't
>> go anywhere during recipe parsing.
>
> Why?
>
My thinking was that the only time you would legitimately try and build
this package when you can't is during a "world" build, which is likely
an unattended sort of build anyway. The rest of the time you might hit
this error would be when you intended to build u-boot but are missing
the requisite configuration bits in your machine config.
Since the debug lines don't get logged anywhere, and you have to clear
tmp/cache in order to retrigger the SkipPackage event with a new bitbake
command (even with -D), I thought it the most user friendly to ensure
the message made it out somewhere where it wouldn't get lost.
> We exclude about 30 different recipes
I didn't realize it was so many, it's difficult to tell just grepping
for SkipPackage.
> when parsing and would you really
> want to see a usability message from each one when you likely don't care
> about it?
See above for my rationale on when you "care about it".
>
> A bb.debug is fine and the user can see it if they run with -D to get
> more info.
The user won't see it unless they clear tmp/cache, which isn't very
intuitive (or at least it wasn't to me).
> A bb.note is just irritating.
I can resend with bb.debug() if you feel strongly about it, as
apparently you do. I've answered your "why" question, but I don't feel
strongly about it. If you want to use bb.debug() I can resend as such
(or just repush with that single change).
Thanks,
--
Darren Hart
Intel Open Source Technology Center
Yocto Project - Linux Kernel
next prev parent reply other threads:[~2011-05-27 3:46 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-05-26 21:12 [PATCH v2 0/2] u-boot updates to make it more bbappend friendly Darren Hart
2011-05-26 21:12 ` [PATCH 1/2] u-boot: remove UBOOT_MACHINE and COMPATIBLE_MACHINES Darren Hart
2011-05-26 23:24 ` Richard Purdie
2011-05-26 23:31 ` Chris Larson
2011-05-27 3:43 ` Darren Hart [this message]
2011-05-27 8:40 ` Richard Purdie
2011-05-27 13:56 ` Darren Hart
2011-05-27 14:46 ` Richard Purdie
2011-05-27 14:48 ` Richard Purdie
2011-05-27 15:13 ` Darren Hart
2011-05-27 15:37 ` Richard Purdie
2011-05-26 21:12 ` [PATCH 2/2] u-boot: rename u-boot_git.bb to u-boot_${PV}.bb Darren Hart
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=4DDF1DDD.30001@linux.intel.com \
--to=dvhart@linux.intel.com \
--cc=clarson@kergoth.com \
--cc=koen@dominion.thruhere.net \
--cc=openembedded-core@lists.openembedded.org \
--cc=richard.purdie@linuxfoundation.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