ref-manual: Applied review edits to auto added runtime deps
Fixes [YOCTO #10248] Applied some review changes. Minor wording tweaks and typo fixes. (From yocto-docs rev: a9e99c8b44c48c74448487187cebfe8df331e9e1) Signed-off-by: Scott Rifenbark <srifenbark@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
aba386b92c
commit
7d208c1c77
|
@ -10493,10 +10493,9 @@ recipes-graphics/xorg-font/font-alias_1.0.3.bb:PR = "${INC_PR}.3"
|
||||||
the
|
the
|
||||||
<link linkend='ref-tasks-package_write_deb'><filename>do_package_write_*</filename></link>
|
<link linkend='ref-tasks-package_write_deb'><filename>do_package_write_*</filename></link>
|
||||||
tasks.
|
tasks.
|
||||||
Exactly how this is done depends on the package format used
|
Exactly how this is done depends on which package format
|
||||||
as described in the
|
is used, which is determined by
|
||||||
<link linkend='var-PACKAGE_CLASSES'><filename>PACKAGE_CLASSES</filename></link>
|
<link linkend='var-PACKAGE_CLASSES'><filename>PACKAGE_CLASSES</filename></link>.
|
||||||
variable.
|
|
||||||
When the corresponding package manager installs the
|
When the corresponding package manager installs the
|
||||||
package, it will know to also install the packages on
|
package, it will know to also install the packages on
|
||||||
which it depends.
|
which it depends.
|
||||||
|
@ -10509,9 +10508,9 @@ recipes-graphics/xorg-font/font-alias_1.0.3.bb:PR = "${INC_PR}.3"
|
||||||
dependency to be added.
|
dependency to be added.
|
||||||
This dependency is from the recipe's
|
This dependency is from the recipe's
|
||||||
<link linkend='ref-tasks-build'><filename>do_build</filename></link>
|
<link linkend='ref-tasks-build'><filename>do_build</filename></link>
|
||||||
(not to be confused with the
|
(not to be confused with
|
||||||
<link linkend='ref-tasks-compile'><filename>do_compile</filename></link>)
|
<link linkend='ref-tasks-compile'><filename>do_compile</filename></link>)
|
||||||
task to the to the <filename>do_package_write_*</filename>
|
task to the <filename>do_package_write_*</filename>
|
||||||
task of the recipes that build <filename>bar</filename> and
|
task of the recipes that build <filename>bar</filename> and
|
||||||
<filename>baz</filename>.
|
<filename>baz</filename>.
|
||||||
</para>
|
</para>
|
||||||
|
|
|
@ -1022,15 +1022,17 @@
|
||||||
the package that depends on the shared library to the package
|
the package that depends on the shared library to the package
|
||||||
that contains the library.</para>
|
that contains the library.</para>
|
||||||
|
|
||||||
<para>If the library being linked against is versioned
|
<para>The automatically added runtime dependency also includes
|
||||||
(i.e. includes a version number), then the automatically added
|
a version restriction.
|
||||||
runtime dependency will specify at least that version, as if
|
This version restriction specifies that at least the current
|
||||||
|
version of the package that provides the shared library must be
|
||||||
|
used, as if
|
||||||
"<replaceable>package</replaceable> (>= <replaceable>version</replaceable>)"
|
"<replaceable>package</replaceable> (>= <replaceable>version</replaceable>)"
|
||||||
had been added to
|
had been added to
|
||||||
<link linkend='var-RDEPENDS'><filename>RDEPENDS</filename></link>.
|
<link linkend='var-RDEPENDS'><filename>RDEPENDS</filename></link>.
|
||||||
This dependency forces an upgrade of the package that provides
|
This forces an upgrade of the package containing the shared
|
||||||
the shared library when installing the package that depends on
|
library when installing the package that depends on the
|
||||||
the library, if needed.</para>
|
library, if needed.</para>
|
||||||
|
|
||||||
<para>If you want to avoid a package being registered as
|
<para>If you want to avoid a package being registered as
|
||||||
providing a particular shared library (e.g. because the library
|
providing a particular shared library (e.g. because the library
|
||||||
|
@ -1054,8 +1056,8 @@
|
||||||
task.</para>
|
task.</para>
|
||||||
|
|
||||||
<para>Simultaneously, all pkg-config modules installed by the
|
<para>Simultaneously, all pkg-config modules installed by the
|
||||||
recipe are inspected to see what other modules on which the
|
recipe are inspected to see what other pkg-config modules they
|
||||||
pkg-config modules depend.
|
depend on.
|
||||||
A module is seen as depending on another module if it contains
|
A module is seen as depending on another module if it contains
|
||||||
a "Requires:" line that specifies the other module.
|
a "Requires:" line that specifies the other module.
|
||||||
For each module dependency,
|
For each module dependency,
|
||||||
|
@ -1078,7 +1080,7 @@
|
||||||
task of each recipe in
|
task of each recipe in
|
||||||
<link linkend='var-DEPENDS'><filename>DEPENDS</filename></link>
|
<link linkend='var-DEPENDS'><filename>DEPENDS</filename></link>
|
||||||
through use of a
|
through use of a
|
||||||
<ulink url='&YOCTO_DOCS_BB_URL;#variable-flags'><filename>[vardeps]</filename></ulink>
|
<filename>[</filename><ulink url='&YOCTO_DOCS_BB_URL;#variable-flags'><filename>deptask</filename></ulink><filename>]</filename>
|
||||||
declaration, which guarantees that the required
|
declaration, which guarantees that the required
|
||||||
shared-library/module-to-package mapping information will be available
|
shared-library/module-to-package mapping information will be available
|
||||||
when needed as long as <filename>DEPENDS</filename> has been
|
when needed as long as <filename>DEPENDS</filename> has been
|
||||||
|
|
Loading…
Reference in New Issue