From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mailout4.zoneedit.com (mailout4.zoneedit.com [64.68.198.17]) by mail.openembedded.org (Postfix) with ESMTP id 2F2666FEE0 for ; Sun, 11 Jun 2017 18:47:01 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mailout4.zoneedit.com (Postfix) with ESMTP id AF99320879; Sun, 11 Jun 2017 18:47:02 +0000 (UTC) Received: from mailout4.zoneedit.com ([127.0.0.1]) by localhost (zmo03-pco.easydns.vpn [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id bGIqTaSs7rVd; Sun, 11 Jun 2017 18:47:02 +0000 (UTC) Received: from mail.denix.org (pool-100-15-85-143.washdc.fios.verizon.net [100.15.85.143]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mailout4.zoneedit.com (Postfix) with ESMTPSA id 8CC52207AF; Sun, 11 Jun 2017 18:47:01 +0000 (UTC) Received: by mail.denix.org (Postfix, from userid 1000) id 279D01624EA; Sun, 11 Jun 2017 14:47:01 -0400 (EDT) Date: Sun, 11 Jun 2017 14:47:01 -0400 From: Denys Dmytriyenko To: Patrick Ohly Message-ID: <20170611184701.GQ28053@denix.org> References: MIME-Version: 1.0 In-Reply-To: User-Agent: Mutt/1.5.20 (2009-06-14) Cc: openembedded-core@lists.openembedded.org Subject: Re: [PATCH v2 0/2] Yocto Compatible 2.0 support code X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 11 Jun 2017 18:47:02 -0000 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline 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