[pve-devel] [PATCH proxmox-offline-mirror 2/2] build: execute dh-cargo-built-using
Fabian Grünbichler
f.gruenbichler at proxmox.com
Wed Jul 10 12:42:24 CEST 2024
while it is pending a bug fix at the moment to properly pick up all
dependencies, this ensures the X-Cargo-Built-Using (and soon,
Static-Built-Using) substvars are actually filled with contents, and allow to
find out which rustc version and dependency versions were used to build a
particular binary package.
Signed-off-by: Fabian Grünbichler <f.gruenbichler at proxmox.com>
---
debian/rules | 3 +++
1 file changed, 3 insertions(+)
diff --git a/debian/rules b/debian/rules
index 9729be1..badace9 100644
--- a/debian/rules
+++ b/debian/rules
@@ -30,6 +30,9 @@ override_dh_auto_test:
# skip for now to avoid additional debug builds - no tests anyway
# dh_auto_test -- test --all
+execute_after_dh_auto_install:
+ /usr/share/cargo/bin/dh-cargo-built-using $(DEB_CARGO_PACKAGE)
+
override_dh_missing:
dh_missing --fail-missing
--
2.39.2
More information about the pve-devel
mailing list