Skip to content

Commit

Permalink
T7026: Use prebuild hook to build vpp
Browse files Browse the repository at this point in the history
  • Loading branch information
sever-sever committed Jan 10, 2025
1 parent aae746a commit 3174bb8
Show file tree
Hide file tree
Showing 2 changed files with 13 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/
12 changes: 12 additions & 0 deletions scripts/package-build/vpp/package.toml
Original file line number Diff line number Diff line change
@@ -1,8 +1,20 @@
[[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 3174bb8

Please sign in to comment.