Skip to contentSkip to conversation

config.json: Make meta-oe source mirror config wider coverage

PATCH In review Richard Purdie 3 participants 4 messages Oct 24, 2023 – Oct 27, 2023

lore
Share & tools
lore
#0 lore raw

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
index 0c35632..61cf374 100644
@@ -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
#1 lore raw
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.

---
  config.json | 6 ++++++
  1 file changed, 6 insertions(+)
config.json +0 -0
index 0c35632..61cf374 100644

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]]
-=-=-=-=-=-=-=-=-=-=-=-

#2 lore raw
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.

---
  config.json | 6 ++++++
  1 file changed, 6 insertions(+)
Quoted 16 lines

config.json line 1458

Quoted 13 lines
config.json +5 -0
index 0c35632..61cf374 100644
@@ -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

#3 lore raw

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

since 2016:
https://git.openembedded.org/openembedded-core/commit/meta/recipes-devtools/gcc/gcc-runtime.inc?id=80333155db8fa53fb52898c4312daa656de89c3b

Quoted 54 lines · Richard Purdie
Quoted 2 lines · Khem Raj
Quoted 1 line · Richard Purdie

Some recipes depend on DISTRO_FEATURES, commercial licensing or

compiler

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.

---
  config.json | 6 ++++++
  1 file changed, 6 insertions(+)
Quoted 16 lines

config.json line 1458

Quoted 13 lines
config.json +5 -0
index 0c35632..61cf374 100644
@@ -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]]
-=-=-=-=-=-=-=-=-=-=-=-