diff options
Diffstat (limited to 'documentation/dev-manual/dev-manual-common-tasks.xml')
| -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: |
