summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2024-09-12 19:07:03 +0200
committerGitHub <noreply@github.com>2024-09-12 19:07:03 +0200
commit300674c1444d361e31e9a5d3a05bd4e6cd409f17 (patch)
treee38edd632782780ac02d80160d6d3ceb59c43bbd
parent55c17f9283f32d9e2d1e562ab2e413ce55d108d3 (diff)
parent21370c5c7dd396ae201c015cebf1c2816814aaa9 (diff)
downloadvyos-build-300674c1444d361e31e9a5d3a05bd4e6cd409f17.tar.gz
vyos-build-300674c1444d361e31e9a5d3a05bd4e6cd409f17.zip
Merge pull request #759 from sever-sever/T6674-netfilter
T6674: Fix build package netfilter dependencies
-rw-r--r--scripts/package-build/netfilter/.gitignore5
-rw-r--r--scripts/package-build/netfilter/package.toml8
2 files changed, 11 insertions, 2 deletions
diff --git a/scripts/package-build/netfilter/.gitignore b/scripts/package-build/netfilter/.gitignore
index 8518afb9..9bf39f82 100644
--- a/scripts/package-build/netfilter/.gitignore
+++ b/scripts/package-build/netfilter/.gitignore
@@ -1,3 +1,8 @@
/pkg-libnftnl/
/pkg-nftables/
+*.buildinfo
+*.build
+*.changes
+*.deb
+*.dsc
diff --git a/scripts/package-build/netfilter/package.toml b/scripts/package-build/netfilter/package.toml
index 45752d08..a39ba8b7 100644
--- a/scripts/package-build/netfilter/package.toml
+++ b/scripts/package-build/netfilter/package.toml
@@ -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
+"""