pack_create_archive – create single binary archive for a package manager.
Synopsis
pack_create_archive
directory
file
Description
The method creates installable archive from directory with binary files. First argument directory
holds the directory with binary files to pack. Second argument file
holds the path for the resulting binary archive.
Default implementation creates simple tarball. Usage of package managers may be supported with modules, implementing that method accordingly.
Writing
The method writes to its second argument.
Variables
The method uses none of any-api(7)
variables.