From a0ba21ec43d65c90c8cc9021ce62ac838d143ab8 Mon Sep 17 00:00:00 2001 From: Thomas Lamprecht Date: Sun, 21 May 2023 13:17:50 +0200 Subject: [PATCH] buildsys: get metadata only for workspace when resolving sub crates Allows for building a DSC without having the librust-* source code build-dependencies installed. Signed-off-by: Thomas Lamprecht --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 83ab59bd4..0b1b2d8a0 100644 --- a/Makefile +++ b/Makefile @@ -31,7 +31,7 @@ SERVICE_BIN := \ RESTORE_BIN := \ proxmox-restore-daemon -SUBCRATES != cargo metadata --format-version=1 | jq -r .workspace_members'[]' | awk '{ print $$1 }' | grep -v '^proxmox-backup$$' | tr '\n' ' ' +SUBCRATES != cargo metadata --no-deps --format-version=1 | jq -r .workspace_members'[]' | awk '{ print $$1 }' | grep -v '^proxmox-backup$$' | tr '\n' ' ' ifeq ($(BUILD_MODE), release) CARGO_BUILD_ARGS += --release