diff options
author | Dave Barach <dave@barachs.net> | 2020-03-18 10:14:40 -0400 |
---|---|---|
committer | Florin Coras <florin.coras@gmail.com> | 2020-03-18 16:14:52 +0000 |
commit | 6d97e62c009086030cddb38c5432c8f860b1c02c (patch) | |
tree | bbf3cad3b264e550b9d711339c07c2bd5922a411 /extras/snap/prep | |
parent | 6a32ce326495bfe48ebef74dfbb8a9c1cf37a530 (diff) |
build: add snap packaging (experimental)
Type: feature
Signed-off-by: Dave Barach <dave@barachs.net>
Change-Id: I5a5efde5378f63d89d82d71ae009c7595aaa800c
Diffstat (limited to 'extras/snap/prep')
-rwxr-xr-x | extras/snap/prep | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/extras/snap/prep b/extras/snap/prep new file mode 100755 index 00000000000..caabd85ccd6 --- /dev/null +++ b/extras/snap/prep @@ -0,0 +1,11 @@ +#!/bin/bash + +set -eu + +cd ../../build-root +echo "make distclean..." +make distclean > /dev/null 2>&1 +cd ../ +echo "construct source tarball..." +tar -zcf extras/snap/vpp.tgz --exclude=extras/snap/vpp.tgz . +exit 0 |