pack_create_archive – create single binary archive for a package manager.


pack_create_archive directory file


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.


The method writes to its second argument.


The method uses none of any-api(7) variables.

See also

any(1), any-map(7), any-api(7)