Re: [PATCH v2 0/2] Yocto Compatible 2.0 support code

Denys Dmytriyenko
2017-06-11T18:47:01Z

On Fri, Jun 09, 2017 at 03:04:02PM +0200, Patrick Ohly wrote:
> As discussed in the "[Openembedded-architecture] Yocto Compatible 2.0
> + signature changes" mail thread, changes in a .bbappend cannot be
> done unconditionally. Making _append and _remove depend on overrides
> which get set based on DISTRO_FEATURES is one way of achieving this.

Just wanted to confirm that this feature is going to be optional, right?

> Conditional includes can have unexpected results when used with checks
> that still change during parsing. Helper functions might make this a bit
> safer and easier to review by limiting the check to DISTRO_FEATURES.
>
> Changes in V2:
> - added df- prefix to distro feature overrides
> - replaced too complex optional_includes() with simpler
> all/any_distro_features()
>
> Patrick Ohly (2):
> bitbake.conf: DISTRO_FEATURES as overrides
> utils.py: helper function for optional include files
>
> meta/conf/bitbake.conf | 17 ++++++++++++++++-
> meta/lib/oe/utils.py | 40 ++++++++++++++++++++++++++++++++++++++++
> 2 files changed, 56 insertions(+), 1 deletion(-)
>
> base-commit: 186882ca62bf683b93cd7a250963921b89ba071f
> --
> git-series 0.9.1
> --
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core