Get the source code¶
IMPORTANT: This guide focuses on building Pantavisor from source code. If you do not need to compile Pantavisor, pre-compiled Pantavisor images are available for all supported targets in our download page.
This build system is based on the Alchemy tool, plus modifications specific to the requirements of Pantavisor-enabled images. Make a new workspace directory:
mkdir pantavisor cd pantavisor
To initialize it, use
repo init -u https://gitlab.com/pantacor/pv-manifest -m release.xml repo sync -j10 -c --no-clone-bundle
Afterwards, you should have contents similar to below in our Pantavisor directory:
alchemy bootloader build.docker.sh build.sh config external internal kernel out scripts toolchains vendor