aboutsummaryrefslogtreecommitdiffstats
path: root/usermanual
diff options
context:
space:
mode:
authorJamie Lenehan <lenehan@twibble.org>2007-01-17 23:14:53 +0000
committerJamie Lenehan <lenehan@twibble.org>2007-01-17 23:14:53 +0000
commit8186bfd99a2579b02edcc4f36a72a825fa1a8aae (patch)
tree4e06ff1a24f39c12b4b726acbb7451b586f6f245 /usermanual
parent1d55ac8308c74fc2df05c248008fdd047f78e0d4 (diff)
downloadopenembedded-8186bfd99a2579b02edcc4f36a72a825fa1a8aae.tar.gz
openembedded-8186bfd99a2579b02edcc4f36a72a825fa1a8aae.tar.bz2
openembedded-8186bfd99a2579b02edcc4f36a72a825fa1a8aae.zip
usermanual: Update recipes: Add RREPLACES and RSUGGESTS to the package
relationships chapter. Update some links.
Diffstat (limited to 'usermanual')
-rw-r--r--usermanual/chapters/recipes.xml33
1 files changed, 27 insertions, 6 deletions
diff --git a/usermanual/chapters/recipes.xml b/usermanual/chapters/recipes.xml
index 9d65b399b4..958fe8aeed 100644
--- a/usermanual/chapters/recipes.xml
+++ b/usermanual/chapters/recipes.xml
@@ -2420,8 +2420,8 @@ pkg_postinst_${PN}-rdisc6 () {
<para>This class is used by daemons to register there init scripts
with the init code.</para>
- <para>Details are provided in the <xref linkend="recipes_initscripts" />
- section.</para>
+ <para>Details are provided in the <xref
+ linkend="recipes_initscripts" /> section.</para>
</listitem>
</varlistentry>
@@ -2467,8 +2467,8 @@ pkg_postinst_${PN}-rdisc6 () {
system will create a symlink to the correct alternative from one or
more available on the system.</para>
- <para>Details are provided in the <xref linkend="recipes_alternatives" />
- section.</para>
+ <para>Details are provided in the <xref
+ linkend="recipes_alternatives" /> section.</para>
</listitem>
</varlistentry>
@@ -2605,6 +2605,27 @@ fi</screen></para>
</varlistentry>
<varlistentry>
+ <term>RREPLACES</term>
+
+ <listitem>
+ <para>Used to specify that the current package replaces an older
+ package with a different name. During package installing the package
+ that is being replaced will be removed since it is no longer needed
+ when this package is installed.</para>
+ </listitem>
+ </varlistentry>
+
+ <varlistentry>
+ <term>RSUGGESTS</term>
+
+ <listitem>
+ <para>Used to provide a list of suggested packages to install. These
+ are packages that are related to and useful for the current package
+ but which are not actually required to use the package.</para>
+ </listitem>
+ </varlistentry>
+
+ <varlistentry>
<term>RPROVIDES</term>
<listitem>
@@ -2887,8 +2908,8 @@ do_configure() {
<para>This is most commonly seen in existing recipes when settings
the <emphasis role="bold">FILESDIR</emphasis> variable (as described
- in the <xref linkend="recipes_filespath_dir" /> section). By obtaining
- name of the recipe file itself, <emphasis
+ in the <xref linkend="recipes_filespath_dir" /> section). By
+ obtaining name of the recipe file itself, <emphasis
role="bold">FILE</emphasis>, and then using os.path.dirname to strip
the filename part:<screen>FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/make-${PV}"</screen>Note
however that this is no longer required as <emphasis