Skip to contentSkip to conversation

dev-manual: update example from kernel.bbclass

PATCH In review Christian Eggers 3 participants 3 messages Feb 14, 2022

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 dev-manual: update example from kernel.bbclass

Since f7485646534e ("kernel: provide virtual/kernel for all kernels"), all recipes which inherit kernel.bbclass provide "virtual/kernel", independent of the value of KERNEL_PACKAGE_NAME.

---
 documentation/dev-manual/common-tasks.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
documentation/dev-manual/common-tasks.rst +1 -1
index d35b590ee185..1856d4c3ad53 100644
@@ -2114,7 +2114,7 @@ statement that essentially identifies itself as being able to provide
 ``virtual/kernel``. Here is one way through the
 :ref:`kernel <ref-classes-kernel>` class::
 
-   PROVIDES += "${@ "virtual/kernel" if (d.getVar("KERNEL_PACKAGE_NAME") == "kernel") else "" }"
+   PROVIDES += "virtual/kernel"
 
 Any recipe that inherits the :ref:`kernel <ref-classes-kernel>` class is
 going to utilize a :term:`PROVIDES` statement that identifies that recipe as
Signature · 1 line
2.34.1
Reviewed-by on v1 1/1
#1 lore raw

Hi Christian,

Quoted 7 lines · Christian Eggers

Since f7485646534e ("kernel: provide virtual/kernel for all kernels"), all recipes which inherit kernel.bbclass provide "virtual/kernel", independent of the value of KERNEL_PACKAGE_NAME.

---
  documentation/dev-manual/common-tasks.rst | 2 +-

Documentation patches have a different mailing list:
[email protected]

I've added it to the Cc recipients now so there's probably no need to resend this patch :)

Thanks!
Quentin

Quoted 26 lines
  1 file changed, 1 insertion(+), 1 deletion(-)
documentation/dev-manual/common-tasks.rst +1 -2
index d35b590ee185..1856d4c3ad53 100644
@@ -2114,7 +2114,7 @@ statement that essentially identifies itself as being able to provide
  ``virtual/kernel``. Here is one way through the
  :ref:`kernel <ref-classes-kernel>` class::
 
-   PROVIDES += "${@ "virtual/kernel" if (d.getVar("KERNEL_PACKAGE_NAME") == "kernel") else "" }"
+   PROVIDES += "virtual/kernel"
 
  Any recipe that inherits the :ref:`kernel <ref-classes-kernel>` class is
  going to utilize a :term:`PROVIDES` statement that identifies that recipe as
 
 
 
-=-=-=-=-=-=-=-=-=-=-=-

Links: You receive all messages sent to this group.
View/Reply Online (#161720): https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.openembedded.org_g_openembedded-2Dcore_message_161720&d=DwIFaQ&c=_sEr5x9kUWhuk4_nFwjJtA&r=LYjLexDn7rXIzVmkNPvw5ymA1XTSqHGq8yBP6m6qZZ4njZguQhZhkI_-172IIy1t&m=salAEUm68GxBGyubcIEZm7DlS2JuU299YHtwFVvdku4TXcRTz7k6L98QiNORDzyn&s=yb7bX1jX1xE8QIx_Y-4hA2wxpHIzvQ-R0z7PhOjKg0U&e=
Mute This Topic: https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.openembedded.org_mt_89139800_6293953&d=DwIFaQ&c=_sEr5x9kUWhuk4_nFwjJtA&r=LYjLexDn7rXIzVmkNPvw5ymA1XTSqHGq8yBP6m6qZZ4njZguQhZhkI_-172IIy1t&m=salAEUm68GxBGyubcIEZm7DlS2JuU299YHtwFVvdku4TXcRTz7k6L98QiNORDzyn&s=rqOLvOISOuPJeW8U1uMkNgMKxm2zqe0rVzTY65ZS8tQ&e=
Group Owner: [email protected]
Unsubscribe: https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.openembedded.org_g_openembedded-2Dcore_unsub&d=DwIFaQ&c=_sEr5x9kUWhuk4_nFwjJtA&r=LYjLexDn7rXIzVmkNPvw5ymA1XTSqHGq8yBP6m6qZZ4njZguQhZhkI_-172IIy1t&m=salAEUm68GxBGyubcIEZm7DlS2JuU299YHtwFVvdku4TXcRTz7k6L98QiNORDzyn&s=hHHCrO6CSCWViAWJPJVnjLNTDeJOH1UeVVwObe-282Y&e= [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

#2 lore raw
Quoted 11 lines · Quentin Schulz

Hi Christian,

Quoted 7 lines · Christian Eggers

Since f7485646534e ("kernel: provide virtual/kernel for all kernels"), all recipes which inherit kernel.bbclass provide "virtual/kernel", independent of the value of KERNEL_PACKAGE_NAME.

---
  documentation/dev-manual/common-tasks.rst | 2 +-

Quoted 7 lines

Documentation patches have a different mailing list:
[email protected]

I've added it to the Cc recipients now so there's probably no need to resend this patch :)

Indeed. Thanks to Quentin´s review I merged your patch into the "master-next" branch of the yocto-docs repository. Many thanks for the update!
Michael.

Signature · 3 lines
Michael Opdenacker, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com