All of lore.kernel.org
 help / color / mirror / Atom feed
* standard of "populate_sysroot" or "do_populate_sysroot"?
@ 2021-09-27 10:12 Robert P. J. Day
  0 siblings, 0 replies; only message in thread
From: Robert P. J. Day @ 2021-09-27 10:12 UTC (permalink / raw)
  To: YP docs mailing list


  perusing sphinx content for ref-manual/classes.rst, and noticed the
following (line 2383):



``staging.bbclass``
===================

The ``staging`` class installs files into individual recipe work
directories for sysroots. The class contains the following key tasks:

-  The :ref:`ref-tasks-populate_sysroot` task,
   which is responsible for handing the files that end up in the recipe
   sysroots.

-  The
   :ref:`ref-tasks-prepare_recipe_sysroot`
   task (a "partner" task to the ``populate_sysroot`` task), which    <====
   installs the files into the individual recipe work directories (i.e.
   :term:`WORKDIR`).

The code in the ``staging`` class is complex and basically works in two
stages:

-  *Stage One:* The first stage addresses recipes that have files they
   want to share with other recipes that have dependencies on the
   originating recipe. Normally these dependencies are installed through
   the :ref:`ref-tasks-install` task into
   ``${``\ :term:`D`\ ``}``. The ``do_populate_sysroot`` task   <====
   copies a subset of these files into ``${SYSROOT_DESTDIR}``. This
   ... snip ...



  note the two slightly different references to the same task:

  - ``populate_sysroot``
  - ``do_populate_sysroot``

is there a consensus as to whether task names should be given with the
leading "do_" when referenced in documentation?

rday


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-09-27 10:13 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-27 10:12 standard of "populate_sysroot" or "do_populate_sysroot"? Robert P. J. Day

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.