Skip to content

Commit

Permalink
T6674: Fix build package netfilter dependencies
Browse files Browse the repository at this point in the history
(cherry picked from commit 21370c5)
  • Loading branch information
sever-sever authored and mergify[bot] committed Sep 12, 2024
1 parent 917325f commit bf63918
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
5 changes: 5 additions & 0 deletions scripts/package-build/netfilter/.gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/pkg-libnftnl/
/pkg-nftables/
*.buildinfo
*.build
*.changes
*.deb
*.dsc

8 changes: 6 additions & 2 deletions scripts/package-build/netfilter/package.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,14 @@
name = "pkg-libnftnl"
commit_id = "debian/1.2.6-2"
scm_url = "https://salsa.debian.org/pkg-netfilter-team/pkg-libnftnl.git"
build_cmd = "sudo mk-build-deps --install --tool 'apt-get --yes --no-install-recommends'; dpkg-buildpackage -uc -us -tc -b"

[[packages]]
name = "pkg-nftables"
commit_id = "debian/1.0.9-1"
scm_url = "https://salsa.debian.org/pkg-netfilter-team/pkg-nftables.git"
build_cmd = "sudo dpkg -i ../libnftnl*.deb; dpkg-buildpackage -uc -us -tc -b"

build_cmd = """
sudo dpkg -i ../libnftnl*.deb
sudo mk-build-deps --install --tool 'apt-get --yes --no-install-recommends'
dpkg-buildpackage -uc -us -tc -b
"""

0 comments on commit bf63918

Please sign in to comment.