File Formats Manual
NAME pack — pack file format
is the name given to compressed archives used by pm(1)
to install softwares under a directory.
The pack name is used to extract informations about it content, and should follow a strict naming scheme: <name>@<version>.<ext>
The regex used to match pack names is as follows (case sensitive):
name used for packs should remain the original software name, unless it doesn't match the regex above. In this case, the name should be changed to fit the convention used.
Libraries pack names MUST be named "lib<name>". For example, the pack for "zlib" would be named "libz@<version>.<ext>".
A pack is a compressed tar file
containing all the files and sub directories meant to be extracted under the $ROOT
directory (See pm(1)
). Supported compression algorithms are gzip
. For example:
In order to create a pack suitable for use with pm(1)
, you can use external tools to first install your pack into a specific directory, change to this directory and archive its content. Files having a newline character ('0) in their name are not supported by pm(1)
. The typical workflow to create packs would be the following:
make DESTDIR=/tmp/rootfs install
tar -c $(ls) | bzip2 > /firstname.lastname@example.org
You can check the content of this pack with:
bzip2 -cd < /email@example.com | tar -t