summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorJohn Estabrook <jestabro@vyos.io>2025-01-14 09:50:25 -0600
committerGitHub <noreply@github.com>2025-01-14 09:50:25 -0600
commit1e6cdf774be28f97c272b3b06a2bed3e1beb3f75 (patch)
tree745811f0d0be8b75f564dd98a4f4bcf21bb8de18 /scripts
parent4b9c86bd9aaafc987fa4a278c8c04c271c3e6e75 (diff)
parent72f39101bf4039d22395f8cfd59d6d89bd1fc7a8 (diff)
downloadvyos-build-1e6cdf774be28f97c272b3b06a2bed3e1beb3f75.tar.gz
vyos-build-1e6cdf774be28f97c272b3b06a2bed3e1beb3f75.zip
Merge pull request #881 from sever-sever/T7206-vyos-1x-vpp
T7026: Extend vyos-1x build to include vyos-vpp
Diffstat (limited to 'scripts')
-rw-r--r--scripts/package-build/vyos-1x/.gitignore2
l---------scripts/package-build/vyos-1x/build.py1
-rw-r--r--scripts/package-build/vyos-1x/package.toml11
3 files changed, 14 insertions, 0 deletions
diff --git a/scripts/package-build/vyos-1x/.gitignore b/scripts/package-build/vyos-1x/.gitignore
new file mode 100644
index 00000000..990c6351
--- /dev/null
+++ b/scripts/package-build/vyos-1x/.gitignore
@@ -0,0 +1,2 @@
+/vyos-1x/
+/vyos-vpp/
diff --git a/scripts/package-build/vyos-1x/build.py b/scripts/package-build/vyos-1x/build.py
new file mode 120000
index 00000000..3c76af73
--- /dev/null
+++ b/scripts/package-build/vyos-1x/build.py
@@ -0,0 +1 @@
+../build.py \ No newline at end of file
diff --git a/scripts/package-build/vyos-1x/package.toml b/scripts/package-build/vyos-1x/package.toml
new file mode 100644
index 00000000..20dbcdf5
--- /dev/null
+++ b/scripts/package-build/vyos-1x/package.toml
@@ -0,0 +1,11 @@
+[[packages]]
+name = "vyos-vpp"
+commit_id = "current"
+scm_url = "https://github.com/vyos/vyos-vpp.git"
+build_cmd = "/bin/true"
+
+[[packages]]
+name = "vyos-1x"
+commit_id = "current"
+scm_url = "https://github.com/vyos/vyos-1x.git"
+build_cmd = "rsync -av --exclude='.git' --exclude='.github' --exclude='README*' --exclude='LICENSE' --exclude='*.md' ../vyos-vpp/ ./; dpkg-buildpackage -us -uc -b"