Builds can often deliver packages in a variety of formats. Having commands to export packages would be good. Note how this differs from the file packages currently delivered in CPIO or TAR formats.
Since they are being exported, the
/mkroot operating system is not necessarily the driving force for this, but it may provide required software such as
CPack for example, is a straightforward extension to CMake and can package to many formats.
Python code for example, contains a
setup.py to do just that. It may be run from a
venv to settle on a given version, and multiple such versions are possible as targets.