FD.io VPP
v21.10.1-2-g0a485f517
Vector Packet Processing
|
The external dependency package will not build in the snapcraft vm. The path of least resistance is to copy it to the root of the (original) workspace before running the prep script.
Snapcraft has mount issues except under /home. Run the prep script and copy the entire directory (including the .tgz file) under /home/yourself.
Copy data to /home (if necessary)
SNAPCRAFT_BUILD_ENVIRONMENT_MEMORY=16G SNAPCRAFT_BUILD_ENVIRONMENT_DISK=32G
SNAPCRAFT_BUILD_ENVIRONMENT_CPU=8 SNAPCRAFT_ENABLE_DEVELOPER_DEBUG=yes
$ <environment-variable-settings> snapcraft [–debug]
snapcraft pull [<part-name>] snapcraft build [<part-name>] snapcraft stage [<part-name>] snapcraft prime [<part-name>] snapcraft snap or snapcraft
snapcraft clean vpp
for vm in $(multipass list | awk '{print $1}' | grep ^snapcraft-); do multipass delete $vm –purge done ```