* [PATCH v2] documentation: Update for skip_recipe rename
@ 2022-02-04 20:22 Saul Wold
2022-02-07 15:43 ` [docs] " Peter Kjellerstedt
0 siblings, 1 reply; 3+ messages in thread
From: Saul Wold @ 2022-02-04 20:22 UTC (permalink / raw)
To: docs; +Cc: Saul Wold
This change better aligns the name of the variable with it's
purpose. Since we removed the odler class, the associated
documentation is also removed.
Signed-off-by: Saul Wold <saul.wold@windriver.com>
---
.../migration-guides/migration-3.5.rst | 8 +++++++
documentation/ref-manual/classes.rst | 17 -------------
documentation/ref-manual/variables.rst | 24 +++++++++----------
3 files changed, 20 insertions(+), 29 deletions(-)
diff --git a/documentation/migration-guides/migration-3.5.rst b/documentation/migration-guides/migration-3.5.rst
index 8c2a7d2c65..29ce6fe14b 100644
--- a/documentation/migration-guides/migration-3.5.rst
+++ b/documentation/migration-guides/migration-3.5.rst
@@ -54,3 +54,11 @@ Recipe changes
- :ref:`allarch <ref-classes-allarch>` packagegroups can no longer depend on packages
which use :term:`PKG` renaming such as :ref:`ref-classes-debian`.
+bbclass changes
+---------------
+
+- blacklist.bbclass is removed and the fucntionality moved to base.bbclass
+ with a more descriptive ``varflag`` named SKIP_RECIPE which will use the
+ SkipRecipe() function. The usage will remain the same:
+
+ SKIP_RECIPE[my-recipe] = "Reason for skipping recipe"
diff --git a/documentation/ref-manual/classes.rst b/documentation/ref-manual/classes.rst
index 949217bf42..8444fa4621 100644
--- a/documentation/ref-manual/classes.rst
+++ b/documentation/ref-manual/classes.rst
@@ -208,23 +208,6 @@ scripts to be disabled should be specified using the
:term:`BINCONFIG` variable within the recipe inheriting
the class.
-.. _ref-classes-blacklist:
-
-``blacklist.bbclass``
-=====================
-
-The ``blacklist`` class prevents the OpenEmbedded build system from
-building specific recipes. To use this class, inherit
-the class globally and set :term:`PNBLACKLIST` for
-each recipe you wish to ignore. Specify the :term:`PN`
-value as a variable flag (varflag) and provide a reason, which is
-reported, if the package is requested to be built as the value. For
-example, if you want to ignore a recipe called "exoticware", you
-add the following to your ``local.conf`` or distribution configuration::
-
- INHERIT += "blacklist"
- PNBLACKLIST[exoticware] = "Not supported by our organization."
-
.. _ref-classes-buildhistory:
``buildhistory.bbclass``
diff --git a/documentation/ref-manual/variables.rst b/documentation/ref-manual/variables.rst
index d4f40b6929..23f55b1d67 100644
--- a/documentation/ref-manual/variables.rst
+++ b/documentation/ref-manual/variables.rst
@@ -5683,18 +5683,6 @@ system and gives an overview of their function and contents.
packages for the target and for Multilib, :term:`PN` would be ``bash``
and ``lib64-bash``, respectively.
- :term:`PNBLACKLIST`
- Lists recipes you do not want the OpenEmbedded build system to build.
- This variable works in conjunction with the
- :ref:`blacklist <ref-classes-blacklist>` class, which is inherited
- globally.
-
- To prevent a recipe from being built, use the :term:`PNBLACKLIST`
- variable in your ``local.conf`` file. Here is an example that
- prevents ``myrecipe`` from being built::
-
- PNBLACKLIST[myrecipe] = "Not supported by our organization."
-
:term:`POPULATE_SDK_POST_HOST_COMMAND`
Specifies a list of functions to call once the OpenEmbedded build
system has created the host part of the SDK. You can specify
@@ -6929,6 +6917,18 @@ system and gives an overview of their function and contents.
SKIP_FILEDEPS = "1"
+ :term:`SKIP_RECIPE`
+ Used to prevent the OpenEmbedded build system from building a given
+ recipe. Specify the :term:`PN` value as a variable flag (``varflag``)
+ and provide a reason, which will be reported when attempting to
+ build the recipe.
+
+ To prevent a recipe from being built, use the :term:`SKIP_RECIPE`
+ variable in your ``local.conf`` file or distribution configuration.
+ Here is an example which prevents ``myrecipe`` from being built::
+
+ SKIP_RECIPE[myrecipe] = "Not supported by our organization."
+
:term:`SOC_FAMILY`
Groups together machines based upon the same family of SOC (System On
Chip). You typically set this variable in a common ``.inc`` file that
--
2.31.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* RE: [docs] [PATCH v2] documentation: Update for skip_recipe rename
2022-02-04 20:22 [PATCH v2] documentation: Update for skip_recipe rename Saul Wold
@ 2022-02-07 15:43 ` Peter Kjellerstedt
2022-02-14 16:56 ` Michael Opdenacker
0 siblings, 1 reply; 3+ messages in thread
From: Peter Kjellerstedt @ 2022-02-07 15:43 UTC (permalink / raw)
To: Saul Wold, docs@lists.yoctoproject.org
> -----Original Message-----
> From: docs@lists.yoctoproject.org <docs@lists.yoctoproject.org> On Behalf Of Saul Wold
> Sent: den 4 februari 2022 21:23
> To: docs@lists.yoctoproject.org
> Cc: Saul Wold <saul.wold@windriver.com>
> Subject: [docs] [PATCH v2] documentation: Update for skip_recipe rename
>
> This change better aligns the name of the variable with it's
> purpose. Since we removed the odler class, the associated
odler -> older
> documentation is also removed.
>
> Signed-off-by: Saul Wold <saul.wold@windriver.com>
> ---
> .../migration-guides/migration-3.5.rst | 8 +++++++
> documentation/ref-manual/classes.rst | 17 -------------
> documentation/ref-manual/variables.rst | 24 +++++++++----------
> 3 files changed, 20 insertions(+), 29 deletions(-)
>
> diff --git a/documentation/migration-guides/migration-3.5.rst b/documentation/migration-guides/migration-3.5.rst
> index 8c2a7d2c65..29ce6fe14b 100644
> --- a/documentation/migration-guides/migration-3.5.rst
> +++ b/documentation/migration-guides/migration-3.5.rst
> @@ -54,3 +54,11 @@ Recipe changes
> - :ref:`allarch <ref-classes-allarch>` packagegroups can no longer depend on packages
> which use :term:`PKG` renaming such as :ref:`ref-classes-debian`.
>
> +bbclass changes
> +---------------
> +
> +- blacklist.bbclass is removed and the fucntionality moved to base.bbclass
fucntionality -> functionality
> + with a more descriptive ``varflag`` named SKIP_RECIPE which will use the
> + SkipRecipe() function. The usage will remain the same:
> +
> + SKIP_RECIPE[my-recipe] = "Reason for skipping recipe"
> diff --git a/documentation/ref-manual/classes.rst b/documentation/ref-manual/classes.rst
> index 949217bf42..8444fa4621 100644
> --- a/documentation/ref-manual/classes.rst
> +++ b/documentation/ref-manual/classes.rst
> @@ -208,23 +208,6 @@ scripts to be disabled should be specified using the
> :term:`BINCONFIG` variable within the recipe inheriting
> the class.
>
> -.. _ref-classes-blacklist:
> -
> -``blacklist.bbclass``
> -=====================
> -
> -The ``blacklist`` class prevents the OpenEmbedded build system from
> -building specific recipes. To use this class, inherit
> -the class globally and set :term:`PNBLACKLIST` for
> -each recipe you wish to ignore. Specify the :term:`PN`
> -value as a variable flag (varflag) and provide a reason, which is
> -reported, if the package is requested to be built as the value. For
> -example, if you want to ignore a recipe called "exoticware", you
> -add the following to your ``local.conf`` or distribution configuration::
> -
> - INHERIT += "blacklist"
> - PNBLACKLIST[exoticware] = "Not supported by our organization."
> -
> .. _ref-classes-buildhistory:
>
> ``buildhistory.bbclass``
> diff --git a/documentation/ref-manual/variables.rst b/documentation/ref-manual/variables.rst
> index d4f40b6929..23f55b1d67 100644
> --- a/documentation/ref-manual/variables.rst
> +++ b/documentation/ref-manual/variables.rst
> @@ -5683,18 +5683,6 @@ system and gives an overview of their function and contents.
> packages for the target and for Multilib, :term:`PN` would be ``bash``
> and ``lib64-bash``, respectively.
>
> - :term:`PNBLACKLIST`
> - Lists recipes you do not want the OpenEmbedded build system to build.
> - This variable works in conjunction with the
> - :ref:`blacklist <ref-classes-blacklist>` class, which is inherited
> - globally.
> -
> - To prevent a recipe from being built, use the :term:`PNBLACKLIST`
> - variable in your ``local.conf`` file. Here is an example that
> - prevents ``myrecipe`` from being built::
> -
> - PNBLACKLIST[myrecipe] = "Not supported by our organization."
> -
> :term:`POPULATE_SDK_POST_HOST_COMMAND`
> Specifies a list of functions to call once the OpenEmbedded build
> system has created the host part of the SDK. You can specify
> @@ -6929,6 +6917,18 @@ system and gives an overview of their function and contents.
>
> SKIP_FILEDEPS = "1"
>
> + :term:`SKIP_RECIPE`
> + Used to prevent the OpenEmbedded build system from building a given
> + recipe. Specify the :term:`PN` value as a variable flag (``varflag``)
> + and provide a reason, which will be reported when attempting to
> + build the recipe.
> +
> + To prevent a recipe from being built, use the :term:`SKIP_RECIPE`
> + variable in your ``local.conf`` file or distribution configuration.
> + Here is an example which prevents ``myrecipe`` from being built::
> +
> + SKIP_RECIPE[myrecipe] = "Not supported by our organization."
> +
> :term:`SOC_FAMILY`
> Groups together machines based upon the same family of SOC (System On
> Chip). You typically set this variable in a common ``.inc`` file that
> --
> 2.31.1
//Peter
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [docs] [PATCH v2] documentation: Update for skip_recipe rename
2022-02-07 15:43 ` [docs] " Peter Kjellerstedt
@ 2022-02-14 16:56 ` Michael Opdenacker
0 siblings, 0 replies; 3+ messages in thread
From: Michael Opdenacker @ 2022-02-14 16:56 UTC (permalink / raw)
To: Peter Kjellerstedt, Saul Wold, docs@lists.yoctoproject.org
Saul, Peter, Quentin,
Thank you for the patch and reviews.
On 2/7/22 16:43, Peter Kjellerstedt wrote:
>> -----Original Message-----
>> From: docs@lists.yoctoproject.org <docs@lists.yoctoproject.org> On Behalf Of Saul Wold
>> Sent: den 4 februari 2022 21:23
>> To: docs@lists.yoctoproject.org
>> Cc: Saul Wold <saul.wold@windriver.com>
>> Subject: [docs] [PATCH v2] documentation: Update for skip_recipe rename
>>
>> This change better aligns the name of the variable with it's
>> purpose. Since we removed the odler class, the associated
> odler -> older
>
>> documentation is also removed.
>>
>> Signed-off-by: Saul Wold <saul.wold@windriver.com>
>> ---
>> .../migration-guides/migration-3.5.rst | 8 +++++++
>> documentation/ref-manual/classes.rst | 17 -------------
>> documentation/ref-manual/variables.rst | 24 +++++++++----------
>> 3 files changed, 20 insertions(+), 29 deletions(-)
>>
>> diff --git a/documentation/migration-guides/migration-3.5.rst b/documentation/migration-guides/migration-3.5.rst
>> index 8c2a7d2c65..29ce6fe14b 100644
>> --- a/documentation/migration-guides/migration-3.5.rst
>> +++ b/documentation/migration-guides/migration-3.5.rst
>> @@ -54,3 +54,11 @@ Recipe changes
>> - :ref:`allarch <ref-classes-allarch>` packagegroups can no longer depend on packages
>> which use :term:`PKG` renaming such as :ref:`ref-classes-debian`.
>>
>> +bbclass changes
>> +---------------
>> +
>> +- blacklist.bbclass is removed and the fucntionality moved to base.bbclass
> fucntionality -> functionality
>
>> + with a more descriptive ``varflag`` named SKIP_RECIPE which will use the
>> + SkipRecipe() function. The usage will remain the same:
>> +
>> + SKIP_RECIPE[my-recipe] = "Reason for skipping recipe"
>> diff --git a/documentation/ref-manual/classes.rst b/documentation/ref-manual/classes.rst
>> index 949217bf42..8444fa4621 100644
>> --- a/documentation/ref-manual/classes.rst
>> +++ b/documentation/ref-manual/classes.rst
>> @@ -208,23 +208,6 @@ scripts to be disabled should be specified using the
>> :term:`BINCONFIG` variable within the recipe inheriting
>> the class.
>>
>> -.. _ref-classes-blacklist:
>> -
>> -``blacklist.bbclass``
>> -=====================
>> -
>> -The ``blacklist`` class prevents the OpenEmbedded build system from
>> -building specific recipes. To use this class, inherit
>> -the class globally and set :term:`PNBLACKLIST` for
>> -each recipe you wish to ignore. Specify the :term:`PN`
>> -value as a variable flag (varflag) and provide a reason, which is
>> -reported, if the package is requested to be built as the value. For
>> -example, if you want to ignore a recipe called "exoticware", you
>> -add the following to your ``local.conf`` or distribution configuration::
>> -
>> - INHERIT += "blacklist"
>> - PNBLACKLIST[exoticware] = "Not supported by our organization."
>> -
>> .. _ref-classes-buildhistory:
>>
>> ``buildhistory.bbclass``
>> diff --git a/documentation/ref-manual/variables.rst b/documentation/ref-manual/variables.rst
>> index d4f40b6929..23f55b1d67 100644
>> --- a/documentation/ref-manual/variables.rst
>> +++ b/documentation/ref-manual/variables.rst
>> @@ -5683,18 +5683,6 @@ system and gives an overview of their function and contents.
>> packages for the target and for Multilib, :term:`PN` would be ``bash``
>> and ``lib64-bash``, respectively.
>>
>> - :term:`PNBLACKLIST`
>> - Lists recipes you do not want the OpenEmbedded build system to build.
>> - This variable works in conjunction with the
>> - :ref:`blacklist <ref-classes-blacklist>` class, which is inherited
>> - globally.
>> -
>> - To prevent a recipe from being built, use the :term:`PNBLACKLIST`
>> - variable in your ``local.conf`` file. Here is an example that
>> - prevents ``myrecipe`` from being built::
>> -
>> - PNBLACKLIST[myrecipe] = "Not supported by our organization."
>> -
>> :term:`POPULATE_SDK_POST_HOST_COMMAND`
>> Specifies a list of functions to call once the OpenEmbedded build
>> system has created the host part of the SDK. You can specify
>> @@ -6929,6 +6917,18 @@ system and gives an overview of their function and contents.
>>
>> SKIP_FILEDEPS = "1"
>>
>> + :term:`SKIP_RECIPE`
>> + Used to prevent the OpenEmbedded build system from building a given
>> + recipe. Specify the :term:`PN` value as a variable flag (``varflag``)
>> + and provide a reason, which will be reported when attempting to
>> + build the recipe.
>> +
>> + To prevent a recipe from being built, use the :term:`SKIP_RECIPE`
>> + variable in your ``local.conf`` file or distribution configuration.
>> + Here is an example which prevents ``myrecipe`` from being built::
>> +
>> + SKIP_RECIPE[myrecipe] = "Not supported by our organization."
>> +
>> :term:`SOC_FAMILY`
>> Groups together machines based upon the same family of SOC (System On
>> Chip). You typically set this variable in a common ``.inc`` file that
>> --
>> 2.31.1
I checked that the V2 takes Quentin's feedback into account and I took
care of implementing the fixes reported by Peter, along with a few extra
improvements.
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
That's merged in master-next now.
Thanks again!
Michael.
--
Michael Opdenacker, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2022-02-14 16:57 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-02-04 20:22 [PATCH v2] documentation: Update for skip_recipe rename Saul Wold
2022-02-07 15:43 ` [docs] " Peter Kjellerstedt
2022-02-14 16:56 ` Michael Opdenacker
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.