[Buildroot] [PATCH 13/16 v2] core/show-info: report whether a package is overriden

Yann E. MORIN yann.morin.1998 at free.fr
Fri Dec 31 17:28:32 UTC 2021


Thomas, All,

On 2021-12-30 21:45 +0100, Thomas Petazzoni spake thusly:
> On Sat, 13 Nov 2021 14:28:24 +0100
> "Yann E. MORIN" <yann.morin.1998 at free.fr> wrote:
> > The show-info output can be used in quite some ways, like to assess the
> > validity of the current configuration, like a production build in a CI
> > would do for example. One such assessment would be to ensure that no
> > package is overriden.
[--SNIP--]
> I did not apply this one, because when you set <pkg>_SITE_METHOD =
> local, then <pkg>_OVERRIDE_SRCDIR will be assigned, but the package
> isn't really "overridden". It's using locally available source code, as
> part of the package definition itself.
> 
> So I found that advertising this package as "overridden" was not
> semantically correct.

Indeed, I'll see if we can easily discriminate the two, to really report
overriden non-local packages.

Regards,
Yann E. MORIN.

> I'm of course ready to discuss this, and see other arguments :)
> 
> Best regards,
> 
> Thomas
> -- 
> Thomas Petazzoni, co-owner and CEO, Bootlin
> Embedded Linux and Kernel engineering and training
> https://bootlin.com
> _______________________________________________
> buildroot mailing list
> buildroot at buildroot.org
> https://lists.buildroot.org/mailman/listinfo/buildroot

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 561 099 427 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'



More information about the buildroot mailing list