diff options
author | Viacheslav Hletenko <v.gletenko@vyos.io> | 2025-01-11 14:15:17 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-01-11 14:15:17 +0200 |
commit | 7d86ca29beaac0e43cb8eb721a5c365eae71ffb4 (patch) | |
tree | 7f5e4278b80b0c28cb1e8fcd16966cb0a56711ed /scripts/package-build | |
parent | 392529e0379b3d81ae9ea03f20d530ef93e28a55 (diff) | |
parent | 2eb9deea6f211edb7e41f07f09a5a21ba0b7d0a9 (diff) | |
download | vyos-build-7d86ca29beaac0e43cb8eb721a5c365eae71ffb4.tar.gz vyos-build-7d86ca29beaac0e43cb8eb721a5c365eae71ffb4.zip |
Merge pull request #883 from sever-sever/7026-vpp-build
T7026: Use prebuild hook to build vpp
Diffstat (limited to 'scripts/package-build')
-rw-r--r-- | scripts/package-build/vpp/.gitignore | 1 | ||||
-rw-r--r-- | scripts/package-build/vpp/package.toml | 11 |
2 files changed, 12 insertions, 0 deletions
diff --git a/scripts/package-build/vpp/.gitignore b/scripts/package-build/vpp/.gitignore index 100411c4..38768675 100644 --- a/scripts/package-build/vpp/.gitignore +++ b/scripts/package-build/vpp/.gitignore @@ -1 +1,2 @@ /vpp/ +/vyos-vpp-patches/ diff --git a/scripts/package-build/vpp/package.toml b/scripts/package-build/vpp/package.toml index 255c3943..644b36a9 100644 --- a/scripts/package-build/vpp/package.toml +++ b/scripts/package-build/vpp/package.toml @@ -1,8 +1,19 @@ [[packages]] +name = "vyos-vpp-patches" +commit_id = "current" +scm_url = "https://github.com/vyos/vyos-vpp-patches" +build_cmd = "/bin/true" + +[[packages]] name = "vpp" commit_id = "stable/2406" scm_url = "https://github.com/FDio/vpp" +pre_build_hook = """ +mkdir -p ../patches/vpp/ +rsync -av ../vyos-vpp-patches/patches/vpp/ ../patches/vpp/ +""" + build_cmd = """ make UNATTENDED=yes install-dep make pkg-deb |