Le 02/01/2024 à 19:10, Martin Jansa a écrit :
>> Backport: new->old override syntax
> 
> FWIW: dunfell is forward compatible with new syntax, so this shouldn't be 
> needed (other than the consistency with other metadata).

I did not know that. Thanks!
Either way, I would use the old syntax in this case to match what is documented 
in local.conf template, recipe comments, etc. But it is nice to know :)

> On Tue, Jan 2, 2024 at 7:07 PM Yoann Congal <yoann.con...@smile.fr 
> <mailto:yoann.con...@smile.fr>> wrote:
> 
>     Some recipes depend on DISTRO_FEATURES, commercial licensing or compiler
>     config like fortran. Set these things so that we get wider soruce mirror
>     coverage and fewer warnings.
> 
>     'commercial' license usage is ok here since we're not building and then
>     shipping any binaries or using it, only mirroring the source code.
> 
>     Signed-off-by: Richard Purdie <richard.pur...@linuxfoundation.org 
> <mailto:richard.pur...@linuxfoundation.org>>
>     (cherry picked from commit 93d47af8abbc6558f9a098a0c7fa6c0e901424a9)
>     Signed-off-by: Yoann Congal <yoann.con...@smile.fr 
> <mailto:yoann.con...@smile.fr>>
>     Backport: new->old override syntax
>     ---
>     This should fix the warnings of the AB meta-oe-mirror/dunfell builds
>     ---
>      config.json | 6 +++++-
>      1 file changed, 5 insertions(+), 1 deletion(-)
> 
>     diff --git a/config.json b/config.json
>     index 3520e9a..1a92c80 100644
>     --- a/config.json
>     +++ b/config.json
>     @@ -1100,7 +1100,11 @@
>                  ],
>                  "extravars" : [
>                      "PNBLACKLIST[dvb-apps] = '1'",
>     -                "PNBLACKLIST[tvheadend] = '1'"
>     +                "PNBLACKLIST[tvheadend] = '1'",
>     +                "LICENSE_FLAGS_ACCEPTED = 'commercial'",
>     +                "DISTRO_FEATURES_append = ' pam systemd usrmerge'",
>     +                "FORTRAN_forcevariable = ',fortran'",
>     +                "RUNTIMETARGET_append_pn-gcc-runtime = ' libquadmath'"
>                  ],
>                  "step1" : {
>                      "shortname" : "Sources pre-fetching",
>     -- 
>     2.39.2
> 
> 
>     
> 

-- 
Yoann Congal
Smile ECS - Tech Expert
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#62068): https://lists.yoctoproject.org/g/yocto/message/62068
Mute This Topic: https://lists.yoctoproject.org/mt/103486578/21656
Group Owner: yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to