config.json: Make meta-oe source mirror config wider coverage
PATCH 1/1 config.json: Make meta-oe source mirror config wider coverage
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.
--- config.json | 6 ++++++ 1 file changed, 6 insertions(+)
config.json +6 -0
@@ -1451,6 +1451,12 @@ "${BUILDDIR}/../meta-openembedded/meta-initramfs", "${BUILDDIR}/../meta-openembedded/meta-webserver" ], + "extravars" : [ + "LICENSE_FLAGS_ACCEPTED = 'commercial'", + "DISTRO_FEATURES:append = ' pam systemd usrmerge'", + "FORTRAN:forcevariable = ',fortran'", + "RUNTIMETARGET:append:pn-gcc-runtime = ' libquadmath'" + ], "step1" : { "shortname" : "Sources pre-fetching", "BBTARGETS" : "universe -c fetch -k",
Signature · 1 line
2.39.2
Quoted 17 lines · Richard Purdie
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 <[email protected]>--- config.json | 6 ++++++ 1 file changed, 6 insertions(+)config.json +0
-0
config.json line 1458
Quoted 8 lines
config.json +5
-0@@ -1451,6 +1451,12 @@ "${BUILDDIR}/../meta-openembedded/meta-initramfs", "${BUILDDIR}/../meta-openembedded/meta-webserver" ], + "extravars" : [ + "LICENSE_FLAGS_ACCEPTED = 'commercial'", + "DISTRO_FEATURES:append = ' pam systemd usrmerge'", + "FORTRAN:forcevariable = ',fortran'", + "RUNTIMETARGET:append:pn-gcc-runtime = ' libquadmath'"
I think RUNTIMETARGET should automatically be appended with libquadmath if FORTRAN is set.
Quoted 16 lines
config.json +1
-1+ ], "step1" : { "shortname" : "Sources pre-fetching", "BBTARGETS" : "universe -c fetch -k", -=-=-=-=-=-=-=-=-=-=-=-Links: You receive all messages sent to this group.
You automatically follow any topics you start or reply to.
View/Reply Online (#61464): https://lists.yoctoproject.org/g/yocto/message/61464
Mute This Topic: https://lists.yoctoproject.org/mt/102155468/1997914
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/yocto/leave/6692173/1997914/1837948400/xyzzy [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-
Quoted 13 lines · Khem Raj
Quoted 12 lines · Richard Purdie
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 <[email protected]>--- config.json | 6 ++++++ 1 file changed, 6 insertions(+)
Quoted 16 lines
config.json line 1458
Quoted 13 lines
config.json +5
-0@@ -1451,6 +1451,12 @@ "${BUILDDIR}/../meta-openembedded/meta-initramfs", "${BUILDDIR}/../meta-openembedded/meta-webserver" ], + "extravars" : [ + "LICENSE_FLAGS_ACCEPTED = 'commercial'", + "DISTRO_FEATURES:append = ' pam systemd usrmerge'", + "FORTRAN:forcevariable = ',fortran'", + "RUNTIMETARGET:append:pn-gcc-runtime = ' libquadmath'"I think RUNTIMETARGET should automatically be appended with libquadmath if FORTRAN is set.
Perhaps but that is a change to work on in OE-Core and isn't going to happen overnight or in previous releases.
Improvements welcome there or perhaps a bug to track it at least.
Cheers,
Richard
I think RUNTIMETARGET is already set correctly when fortran is correctly enabled as in:
https://git.openembedded.org/openembedded-core/tree/meta/recipes-devtools/gcc/gcc-runtime.inc#n45
Quoted 54 lines · Richard Purdie
Quoted 2 lines · Khem Raj
Quoted 1 line · Richard Purdie
Some recipes depend on
DISTRO_FEATURES, commercial licensing orcompiler
Quoted 1 line
Quoted 1 line
config like fortran. Set these things so that we get wider soruce
mirror
Quoted 10 lines
Quoted 10 lines
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 <[email protected]>--- config.json | 6 ++++++ 1 file changed, 6 insertions(+)Quoted 16 lines
config.json line 1458
Quoted 13 lines
config.json +5
-0@@ -1451,6 +1451,12 @@ "${BUILDDIR}/../meta-openembedded/meta-initramfs", "${BUILDDIR}/../meta-openembedded/meta-webserver" ], + "extravars" : [ + "LICENSE_FLAGS_ACCEPTED = 'commercial'", + "DISTRO_FEATURES:append = ' pam systemd usrmerge'", + "FORTRAN:forcevariable = ',fortran'", + "RUNTIMETARGET:append:pn-gcc-runtime = ' libquadmath'"I think RUNTIMETARGET should automatically be appended with libquadmath if FORTRAN is set.
Perhaps but that is a change to work on in OE-Core and isn't going to happen overnight or in previous releases.
Improvements welcome there or perhaps a bug to track it at least.
Cheers,
Richard
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group. View/Reply Online (#61472):
https://lists.yoctoproject.org/g/yocto/message/61472
Mute This Topic: https://lists.yoctoproject.org/mt/102155468/3617156
Group Owner: [email protected] Unsubscribe:
https://lists.yoctoproject.org/g/yocto/leave/6691508/3617156/1288174273/xyzzy
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-