The do_package
task splits the files
produced by the recipe into logical components.
Even software that produces a single binary might still have
debug symbols, documentation, and other logical components
that should be split out.
The do_package
task ensures that files
are split up and packaged correctly.
After you build your software, you need to be sure your packages
are correct.
Examine the
${
WORKDIR
}/packages-split
directory and make sure files are where you expect them to be.
If you discover problems, you can set
PACKAGES
,
FILES
,
do_install(_append)
, and so forth as
needed.
See the "Splitting an Application into Multiple Packages" section for an example that shows how you might split your software into more than one package.
For an example showing how to install a post-installation script, see the "Post-Installation Scripts" section.