From mboxrd@z Thu Jan 1 00:00:00 1970 Subject: Re: [PATCH] cooker: Only warn on potentially incompatible layer To: bitbake-devel@lists.openembedded.org From: "Damian Wrobel" X-Originating-Location: Imielin, Silesia, PL (178.217.216.129) X-Originating-Platform: Linux Firefox 91 User-Agent: GROUPS.IO Web Poster MIME-Version: 1.0 Date: Fri, 03 Sep 2021 10:53:58 -0700 References: In-Reply-To: Message-ID: <22175.1630691638780132694@lists.openembedded.org> Content-Type: multipart/alternative; boundary="X2ZvPsTW6aAhXFOrRWnX" --X2ZvPsTW6aAhXFOrRWnX Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable On Fri, Sep 3, 2021 at 07:07 PM, Richard Purdie wrote: >=20 > LAYERSERIES_COMPAT The problem is that there is inconsistency for treating layers with and wit= hout LAYERSERIES_COMPAT. If the layer without LAYERSERIES_COMPAT works perfectly - only a warning is= emitted. Then symmetrically the same should happen for a layer with LAYERSERIES_COMPAT - = especially that this check is not able to detect any real problems in this layer - it only = blindly rejects a valid layer. Additionally, this bb.fatal generates compatibility problem as we're able t= o consume 3rd party layers which have LAYERSERIES_COMPAT in yocto morty (which doesn't use this= compatibility check), but the same layers are false positively rejected by yocto dunfell. Having this merged would allow to limit maintenance burden on 3rd party lay= ers. -- Regards, Damian --X2ZvPsTW6aAhXFOrRWnX Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: quoted-printable On Fri, Sep 3, 2021 at 07:07 PM, Richard Purdie wrote:
LAYERSERIES_COMPAT
The problem is that there is inconsistency for treating layers with and wit= hout LAYERSERIES_COMPAT.

If the layer without LAYERSERIES_COMPAT= works perfectly - only a warning is emitted. Then
symmetrically the s= ame should happen for a layer with LAYERSERIES_COMPAT - especially that
this check is not able to detect any real problems in this layer - it onl= y blindly rejects a valid layer.

Additionally, this bb.fatal gen= erates compatibility problem as we're able to consume 3rd party
layers= which have LAYERSERIES_COMPAT in yocto morty (which doesn't use this compa= tibility check),
but the same layers are false positively rejected by = yocto dunfell.

Having this merged would allow to limit maintenan= ce burden on 3rd party layers.

--
Regards,
Damian --X2ZvPsTW6aAhXFOrRWnX--