dev-manual: Edits to "Post-Installation Scripts" section.
(From yocto-docs rev: 415680e500e8638d6df5a3f7062b95e9e47cc85f) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
d333a90347
commit
469068b7b4
|
@ -1251,11 +1251,11 @@
|
|||
|
||||
<para>
|
||||
To add a post-installation script to a package, add a
|
||||
<filename>pkg_postinst_PACKAGENAME()
|
||||
</filename> function to the <filename>.bb</filename> file and use
|
||||
<filename>pkg_postinst_PACKAGENAME()</filename> function to the
|
||||
<filename>.bb</filename> file and use
|
||||
<filename>PACKAGENAME</filename> as the name of the package you want to attach to the
|
||||
<filename>postinst</filename> script.
|
||||
Normally
|
||||
Normally,
|
||||
<filename><ulink url='&YOCTO_DOCS_REF_URL;#var-PN'>PN</ulink></filename>
|
||||
can be used, which automatically expands to <filename>PACKAGENAME</filename>.
|
||||
A post-installation function has the following structure:
|
||||
|
|
Loading…
Reference in New Issue