diff options
| author | Scott Rifenbark <scott.m.rifenbark@intel.com> | 2013-04-15 15:27:52 -0700 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-04-17 22:34:14 +0100 |
| commit | 469068b7b4c69093eb7ee0d10c4167497250d3c5 (patch) | |
| tree | 2906c096a66ffb2ad9ac6b0d5b9432ecbd19c82d | |
| parent | d333a9034752edca559afe4a624203bf787e427c (diff) | |
| download | poky-469068b7b4c69093eb7ee0d10c4167497250d3c5.tar.gz | |
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>
| -rw-r--r-- | documentation/dev-manual/dev-manual-common-tasks.xml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/documentation/dev-manual/dev-manual-common-tasks.xml b/documentation/dev-manual/dev-manual-common-tasks.xml index 47ccb20f5b..9102a1042a 100644 --- a/documentation/dev-manual/dev-manual-common-tasks.xml +++ b/documentation/dev-manual/dev-manual-common-tasks.xml | |||
| @@ -1251,11 +1251,11 @@ | |||
| 1251 | 1251 | ||
| 1252 | <para> | 1252 | <para> |
| 1253 | To add a post-installation script to a package, add a | 1253 | To add a post-installation script to a package, add a |
| 1254 | <filename>pkg_postinst_PACKAGENAME() | 1254 | <filename>pkg_postinst_PACKAGENAME()</filename> function to the |
| 1255 | </filename> function to the <filename>.bb</filename> file and use | 1255 | <filename>.bb</filename> file and use |
| 1256 | <filename>PACKAGENAME</filename> as the name of the package you want to attach to the | 1256 | <filename>PACKAGENAME</filename> as the name of the package you want to attach to the |
| 1257 | <filename>postinst</filename> script. | 1257 | <filename>postinst</filename> script. |
| 1258 | Normally | 1258 | Normally, |
| 1259 | <filename><ulink url='&YOCTO_DOCS_REF_URL;#var-PN'>PN</ulink></filename> | 1259 | <filename><ulink url='&YOCTO_DOCS_REF_URL;#var-PN'>PN</ulink></filename> |
| 1260 | can be used, which automatically expands to <filename>PACKAGENAME</filename>. | 1260 | can be used, which automatically expands to <filename>PACKAGENAME</filename>. |
| 1261 | A post-installation function has the following structure: | 1261 | A post-installation function has the following structure: |
