[PATCH proxmox-ve-rs 2/3] d/control: specify the build-deps not needed for "nocheck" profile

Jing Luo jing at jing.rocks
Thu Nov 21 11:06:50 CET 2024


These rust libs are not needed if using DEB_BUILD_PROFILES="nocheck". This
helps bootstrap proxmox to another arch in the future.

Signed-off-by: Jing Luo <jing at jing.rocks>
---
 proxmox-ve-config/debian/control | 32 ++++++++++++++++----------------
 1 file changed, 16 insertions(+), 16 deletions(-)

diff --git a/proxmox-ve-config/debian/control b/proxmox-ve-config/debian/control
index 4be4417..401d0ca 100644
--- a/proxmox-ve-config/debian/control
+++ b/proxmox-ve-config/debian/control
@@ -2,25 +2,25 @@ Source: rust-proxmox-ve-config
 Section: rust
 Priority: optional
 Maintainer: Proxmox Support Team <support at proxmox.com>
-Build-Depends: cargo:native,
+Build-Depends: cargo:native <!nocheck>,
                debhelper-compat (= 13),
                dh-sequence-cargo,
-               librust-anyhow-1+default-dev,
-               librust-log-0.4+default-dev (>= 0.4.17-~~),
-               librust-nix-0.26+default-dev (>= 0.26.1-~~),
-               librust-thiserror-dev (>= 1.0.59-~~),
-               librust-proxmox-schema-3+default-dev,
-               librust-proxmox-sortable-macro-dev,
-               librust-proxmox-sys-dev,
-               librust-serde-1+default-dev,
-               librust-serde-1+derive-dev,
-               librust-serde-json-1+default-dev,
-               librust-serde-plain-1+default-dev,
-               librust-serde-with+default-dev,
-               libstd-rust-dev,
-               netbase,
+               librust-anyhow-1+default-dev <!nocheck>,
+               librust-log-0.4+default-dev (>= 0.4.17-~~) <!nocheck>,
+               librust-nix-0.26+default-dev (>= 0.26.1-~~) <!nocheck>,
+               librust-thiserror-dev (>= 1.0.59-~~) <!nocheck>,
+               librust-proxmox-schema-3+default-dev <!nocheck>,
+               librust-proxmox-sortable-macro-dev <!nocheck>,
+               librust-proxmox-sys-dev <!nocheck>,
+               librust-serde-1+default-dev <!nocheck>,
+               librust-serde-1+derive-dev <!nocheck>,
+               librust-serde-json-1+default-dev <!nocheck>,
+               librust-serde-plain-1+default-dev <!nocheck>,
+               librust-serde-with+default-dev <!nocheck>,
+               libstd-rust-dev <!nocheck>,
+               netbase <!nocheck>,
                python3,
-               rustc:native (>= 1.82),
+               rustc:native (>= 1.82) <!nocheck>,
 Standards-Version: 4.7.0
 Homepage: https://www.proxmox.com
 
-- 
2.47.0





More information about the pve-devel mailing list