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 @@ To add a post-installation script to a package, add a - pkg_postinst_PACKAGENAME() - function to the .bb file and use + pkg_postinst_PACKAGENAME() function to the + .bb file and use PACKAGENAME as the name of the package you want to attach to the postinst script. - Normally + Normally, PN can be used, which automatically expands to PACKAGENAME. A post-installation function has the following structure: