Handles creation of the compressed payload tarball.
Packages the Elixir release and ERTS into a single Zstandard-compressed tarball that will be embedded in the final binary.
- Relativization: Converts absolute paths in release scripts to relative
- Cleanup: Removes non-essential files (src, docs, misc)
- Boot File Preparation: Ensures correct .boot file for target platform
Summary
Functions
Packages the release and the ERTS into a single compressed tarball.
Functions
Packages the release and the ERTS into a single compressed tarball.
rel_path- Path to the Mix release directoryerts_path- Path to the fetched ERTS directoryout_path- Path for the output compressed tarballcompression_level- Zstandard compression level (1-19){:ok, path}- Success with output path{:error, reason}- Failure with error message