From: "Mikko Rapeli" <mikko.rapeli@bmw.de>
To: <jlu@pengutronix.de>
Cc: <openembedded-core@lists.openembedded.org>
Subject: Re: [OE-core][PATCH] classes/buildhistory: capture package config
Date: Mon, 15 Jun 2020 13:55:11 +0000 [thread overview]
Message-ID: <20200615135510.GJ108868@korppu> (raw)
In-Reply-To: <d14c6872c68aef73f26a0afdf90917d7b01665cc.camel@pengutronix.de>
Hi,
On Mon, Jun 15, 2020 at 02:17:51PM +0200, Jan Lübbe wrote:
> On Mon, 2020-06-15 at 11:29 +0000, Mikko.Rapeli@bmw.de wrote:
> > On Wed, Jun 03, 2020 at 10:12:37AM +0200, Jan Luebbe wrote:
> > > As the PACKAGECONFIG variable has a large influence on the
> > > resulting
> > > package sizes and dependencies, it's useful to capture it in the
> > > recipe-level buildhistory. This makes it straightforward to analyze
> > > the
> > > impact of PACKAGECONFIG changes on the resulting image size.
> >
> > Thanks, this is a good idea! I would print using full PACKAGECONFIG
> > name to avoid any confusion.
>
> Note that Richard has already merged this in master.
>
> I thought it was pretty clear when looking at if from the package
> context in the buildhistory. I wouldn't mind renaming it to
> PACKAGECONFIG, it there's agreement that it would be clearer.
Yes, to me it is also clear, but I find it better to be explicit and to avoid
duplication. Now someone needs to write to some manual that CONFIG in buildhistory
recipe metadata means PACKAGECONFIG :) But I'm happy this in mastes as is too.
> > And this reminds me that DISTRO_FEATURES isn't logged into
> > buildhistory either afaik...
>
> Might be useful, but DISTRO_FEATURES is relatively high-level so
> there's usually not much details you can optimize.
Yes, but in most cases it directly influences PACKAGECONFIG in various recipes.
At least I modify PACKAGECONFIG of many recipes, sometimes through DISTRO_FEATURES
and sometimes directly using bbappends. End results is not always clear and
I have to use 'bitbake -e' and manual inspection of installed files and features
to verify results. Recording things to buildhistory would be nice.
Buildhistory is so usefull that I feel like it should contain all data parsed by
bitbake...
Cheers,
-Mikko
prev parent reply other threads:[~2020-06-15 13:55 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-06-03 8:12 [OE-core][PATCH] classes/buildhistory: capture package config Jan Luebbe
2020-06-15 11:29 ` Mikko Rapeli
2020-06-15 12:17 ` Jan Luebbe
2020-06-15 13:55 ` Mikko Rapeli [this message]
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=20200615135510.GJ108868@korppu \
--to=mikko.rapeli@bmw.de \
--cc=jlu@pengutronix.de \
--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