summaryrefslogtreecommitdiff
path: root/scripts/package-build
diff options
context:
space:
mode:
authorViacheslav Hletenko <v.gletenko@vyos.io>2025-01-09 13:40:32 +0000
committerViacheslav Hletenko <v.gletenko@vyos.io>2025-01-09 20:36:37 +0000
commit72f39101bf4039d22395f8cfd59d6d89bd1fc7a8 (patch)
treea69d61ba4c8944766866a70ae6cbdcbc7cb594eb /scripts/package-build
parentd4b21f369ca7ad5eabad873dfc04d6506d32a785 (diff)
downloadvyos-build-72f39101bf4039d22395f8cfd59d6d89bd1fc7a8.tar.gz
vyos-build-72f39101bf4039d22395f8cfd59d6d89bd1fc7a8.zip
T7026: Extend vyos-1x build to include vyos-vpp
Diffstat (limited to 'scripts/package-build')
-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"