1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34
|
Description: disable building and running the bundled binary
The upstream crate provides both a library (smbioslib) and a binary
tool (smbiosdump). The binary requires root privileges at build/test
time, which is unsuitable for the Debian build environment. Since the
Debian package only ships the library, the bin section and the
sudo-based runner configuration are commented out
Author: Nadzeya Hutsko <nadzya.info@gmail.com>
Forwarded: not-needed
Last-Update: 2025-09-18
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -39,9 +39,9 @@
name = "smbioslib"
path = "src/lib.rs"
-[[bin]]
-name = "smbiosdump"
-path = "src/main.rs"
+# [[bin]]
+# name = "smbiosdump"
+# path = "src/main.rs"
[[test]]
name = "integration_test"
--- a/.cargo/config.toml
+++ b/.cargo/config.toml
@@ -1,3 +1,3 @@
-[target.x86_64-unknown-linux-gnu]
-runner = 'sudo -E'
+# [target.x86_64-unknown-linux-gnu]
+# runner = 'sudo -E'
|