Skip to content

Commit

Permalink
Merge pull request #883 from sever-sever/7026-vpp-build
Browse files Browse the repository at this point in the history
T7026: Use prebuild hook to build vpp
  • Loading branch information
sever-sever authored Jan 11, 2025
2 parents 392529e + 2eb9dee commit 7d86ca2
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
1 change: 1 addition & 0 deletions scripts/package-build/vpp/.gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
/vpp/
/vyos-vpp-patches/
11 changes: 11 additions & 0 deletions scripts/package-build/vpp/package.toml
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit 7d86ca2

Please sign in to comment.