[4/7] ref-manual: add PSEUDO_IGNORE_PATHS

Submitted by Paul Eggleton on Oct. 28, 2020, 1:18 a.m. | Patch ID: 177594

Details

Message ID c9245b18556164df9e94c07084918116182cbfb3.1603839557.git.paul.eggleton@linux.microsoft.com
State New
Headers show

Commit Message

Paul Eggleton Oct. 28, 2020, 1:18 a.m.
From: Paul Eggleton <paul.eggleton@microsoft.com>

Add a brief variable glossary entry for the new PSEUDO_IGNORE_PATHS
variable.

Signed-off-by: Paul Eggleton <paul.eggleton@microsoft.com>
---
 documentation/ref-manual/ref-variables.rst | 8 ++++++++
 1 file changed, 8 insertions(+)

Patch hide | download patch | download mbox

diff --git a/documentation/ref-manual/ref-variables.rst b/documentation/ref-manual/ref-variables.rst
index a7315cf..176c94a 100644
--- a/documentation/ref-manual/ref-variables.rst
+++ b/documentation/ref-manual/ref-variables.rst
@@ -5932,6 +5932,14 @@  system and gives an overview of their function and contents.
       service <dev-manual/dev-manual-common-tasks:working with a pr service>`. You can
       set ``PRSERV_HOST`` to other values to use a remote PR service.
 
+
+   :term:`PSEUDO_IGNORE_PATHS`
+      A comma-separated (without spaces) list of files that should be ignored
+      by pseudo when monitoring and recording file operations, in order to avoid
+      problems with files being written to outside of the pseudo context and
+      reduce pseudo's overhead.
+
+
    :term:`PTEST_ENABLED`
       Specifies whether or not :ref:`Package
       Test <dev-manual/dev-manual-common-tasks:testing packages with ptest>` (ptest)

Comments

Peter Kjellerstedt Oct. 28, 2020, 10:18 p.m.
> -----Original Message-----
> From: docs@lists.yoctoproject.org <docs@lists.yoctoproject.org> On Behalf
> Of Paul Eggleton
> Sent: den 28 oktober 2020 02:19
> To: docs@lists.yoctoproject.org
> Subject: [docs] [PATCH 4/7] ref-manual: add PSEUDO_IGNORE_PATHS
> 
> From: Paul Eggleton <paul.eggleton@microsoft.com>
> 
> Add a brief variable glossary entry for the new PSEUDO_IGNORE_PATHS
> variable.
> 
> Signed-off-by: Paul Eggleton <paul.eggleton@microsoft.com>
> ---
>  documentation/ref-manual/ref-variables.rst | 8 ++++++++
>  1 file changed, 8 insertions(+)
> 
> diff --git a/documentation/ref-manual/ref-variables.rst
> b/documentation/ref-manual/ref-variables.rst
> index a7315cf..176c94a 100644
> --- a/documentation/ref-manual/ref-variables.rst
> +++ b/documentation/ref-manual/ref-variables.rst
> @@ -5932,6 +5932,14 @@ system and gives an overview of their function and contents.
>        service <dev-manual/dev-manual-common-tasks:working with a pr service>`. You can
>        set ``PRSERV_HOST`` to other values to use a remote PR service.
> 
> +
> +   :term:`PSEUDO_IGNORE_PATHS`
> +      A comma-separated (without spaces) list of files that should be ignored

Based on the default definition of PSEUDO_IGNORE_PATHS in bitbake.conf, saying 
"files" here seems misleading. It seems to support files, directories and even 
prefixes, e.g., "${WORKDIR}/deploy-".

> +      by pseudo when monitoring and recording file operations, in order to avoid
> +      problems with files being written to outside of the pseudo context and
> +      reduce pseudo's overhead.
> +
> +
>     :term:`PTEST_ENABLED`
>        Specifies whether or not :ref:`Package
>        Test <dev-manual/dev-manual-common-tasks:testing packages with ptest>` (ptest)
> --
> 1.8.3.1

//Peter
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#522): https://lists.yoctoproject.org/g/docs/message/522
Mute This Topic: https://lists.yoctoproject.org/mt/77853544/3617530
Group Owner: docs+owner@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/docs/unsub [oe-patchwork@oe-patch.openembedded.org]
-=-=-=-=-=-=-=-=-=-=-=-
Richard Purdie Oct. 29, 2020, 7:49 p.m.
On Wed, 2020-10-28 at 22:18 +0000, Peter Kjellerstedt wrote:
> > -----Original Message-----
> > From: docs@lists.yoctoproject.org <docs@lists.yoctoproject.org> On Behalf
> > Of Paul Eggleton
> > Sent: den 28 oktober 2020 02:19
> > To: docs@lists.yoctoproject.org
> > Subject: [docs] [PATCH 4/7] ref-manual: add PSEUDO_IGNORE_PATHS
> > 
> > From: Paul Eggleton <paul.eggleton@microsoft.com>
> > 
> > Add a brief variable glossary entry for the new PSEUDO_IGNORE_PATHS
> > variable.
> > 
> > Signed-off-by: Paul Eggleton <paul.eggleton@microsoft.com>
> > ---
> >  documentation/ref-manual/ref-variables.rst | 8 ++++++++
> >  1 file changed, 8 insertions(+)
> > 
> > diff --git a/documentation/ref-manual/ref-variables.rst
> > b/documentation/ref-manual/ref-variables.rst
> > index a7315cf..176c94a 100644
> > --- a/documentation/ref-manual/ref-variables.rst
> > +++ b/documentation/ref-manual/ref-variables.rst
> > @@ -5932,6 +5932,14 @@ system and gives an overview of their function and contents.
> >        service <dev-manual/dev-manual-common-tasks:working with a pr service>`. You can
> >        set ``PRSERV_HOST`` to other values to use a remote PR service.
> > 
> > +
> > +   :term:`PSEUDO_IGNORE_PATHS`
> > +      A comma-separated (without spaces) list of files that should be ignored
> 
> Based on the default definition of PSEUDO_IGNORE_PATHS in bitbake.conf, saying 
> "files" here seems misleading. It seems to support files, directories and even 
> prefixes, e.g., "${WORKDIR}/deploy-".

That is correct, I've tweaked the patch queued in -next to reflect
that, thanks.

Cheers,

Richard
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#531): https://lists.yoctoproject.org/g/docs/message/531
Mute This Topic: https://lists.yoctoproject.org/mt/77853544/3617530
Group Owner: docs+owner@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/docs/unsub [oe-patchwork@oe-patch.openembedded.org]
-=-=-=-=-=-=-=-=-=-=-=-