[PATCH pve-network] d/control: break the circular build-dependency with pve-firewall

Jing Luo jing at jing.rocks
Fri Nov 22 12:01:51 CET 2024


Currently pve-network has a (versioned) build-dep of pve-firewall, which has
a (versioned) runtime dependency of a newer version of libpve-network-perl,
which is not available because it has not been built. It turns out that
pve-firewall is only needed in testing, so let's only pull it in unless
we don't use the "nocheck" build profile so that we can actually build
pve-network from source.

Fixes: cbc70c81b9a2647a20903b27cabb14c1d6dc6d76
Signed-off-by: Jing Luo <jing at jing.rocks>
---
 debian/control | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/debian/control b/debian/control
index bb8cef9..9eeacbb 100644
--- a/debian/control
+++ b/debian/control
@@ -9,7 +9,7 @@ Build-Depends: debhelper-compat (= 13),
                libtest-mockmodule-perl,
                perl,
                pve-cluster (>= 8.0.10),
-               pve-firewall (>= 5.1.0~),
+               pve-firewall (>= 5.1.0~) <!nocheck>,
                pve-doc-generator (>= 5.3-3),
                libpve-access-control,
 Standards-Version: 4.6.1
-- 
2.47.0





More information about the pve-devel mailing list