From patchwork Tue Feb 1 13:52:42 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michael Tremer X-Patchwork-Id: 5030 Return-Path: Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) client-signature ECDSA (P-384)) (Client CN "mail01.haj.ipfire.org", Issuer "R3" (verified OK)) by web04.haj.ipfire.org (Postfix) with ESMTPS id 4Jp5ww1P7kz3xHT for ; Tue, 1 Feb 2022 13:53:04 +0000 (UTC) Received: from mail02.haj.ipfire.org (mail02.haj.ipfire.org [172.28.1.201]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) client-signature ECDSA (P-384)) (Client CN "mail02.haj.ipfire.org", Issuer "R3" (verified OK)) by mail01.ipfire.org (Postfix) with ESMTPS id 4Jp5wm4qPxz5Gg; Tue, 1 Feb 2022 13:52:56 +0000 (UTC) Received: from mail02.haj.ipfire.org (localhost [127.0.0.1]) by mail02.haj.ipfire.org (Postfix) with ESMTP id 4Jp5wl3kKMz32Kl; Tue, 1 Feb 2022 13:52:55 +0000 (UTC) Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) client-signature ECDSA (P-384)) (Client CN "mail01.haj.ipfire.org", Issuer "R3" (verified OK)) by mail02.haj.ipfire.org (Postfix) with ESMTPS id 4Jp5wk2VrSz2xVY for ; Tue, 1 Feb 2022 13:52:54 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) server-digest SHA384) (No client certificate requested) by mail01.ipfire.org (Postfix) with ESMTPSA id 4Jp5wk1H3tzTp; Tue, 1 Feb 2022 13:52:54 +0000 (UTC) DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003ed25519; t=1643723574; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=5nsi3wVThQQhPLfoa0Q8iwGVgGS+4qoaxTBjE9FaoIk=; b=crNJiZ6FcmgE9qvXALn8XB0Y9TM7OQYcGqH8fgWH85jCMQlFZSr4Afwfv4xmOkSOjPS/kp Ep+3U3utn2unEjBg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003rsa; t=1643723574; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=5nsi3wVThQQhPLfoa0Q8iwGVgGS+4qoaxTBjE9FaoIk=; b=Qk0MU0zh97KZF0U1lS6ujoBFWrun6v5jS51B/g+IPHWCYX/Bvsx1GyCAWms14Xw4MF8sDh nIbMVXzLsIFFAYTg7/h3neB3rUlV3A6rZtYBMZO374JT/VHGKeY4TjwWQMi2TCsyZehUt4 icTFu6gkqG+DXajPtwfDI8dgZmYBVieMD+DGxLiZTOZJuuT8gAtsUF2x1lwc9Q382ZZsEm z7k59R6hJOzKZBeeJQC4xwWFzOd33iJWQ4TYRi4RjP2EqgmvfDCMiPzAO1KRYV8EkehbHx k23p1UiuNLcgJWJHhKpUvaYcfTx2KamdyHsIl0SpUBDP5xOw8zdcfOW/GBdKHg== From: Michael Tremer To: development@lists.ipfire.org Subject: [PATCH 06/10] rust: Add switch to skip bin check Date: Tue, 1 Feb 2022 13:52:42 +0000 Message-Id: <20220201135246.4096955-6-michael.tremer@ipfire.org> In-Reply-To: <20220201135246.4096955-1-michael.tremer@ipfire.org> References: <20220201135246.4096955-1-michael.tremer@ipfire.org> MIME-Version: 1.0 X-BeenThere: development@lists.ipfire.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: IPFire development talk List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Michael Tremer Errors-To: development-bounces@lists.ipfire.org Sender: "Development" This does not seem to work very reliable, so we need manually disable this for some packages. Signed-off-by: Michael Tremer --- lfs/Config | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lfs/Config b/lfs/Config index fb5745df0..3ae5425ee 100644 --- a/lfs/Config +++ b/lfs/Config @@ -182,6 +182,9 @@ replace-with = "local-registry" endef export CARGO_CONFIG +# Set to false if you want to skip the binary install step +CARGO_HAS_BIN = true + CARGO = \ CARGOPATH=$(CARGO_PATH) \ RUSTC_BOOTSTRAP=1 \ @@ -219,7 +222,7 @@ define CARGO_INSTALL install -v -m 644 Cargo.toml.deps $(CRATE_PATH)/Cargo.toml && \ echo "{\"files\":{},\"package\":\"\"}" > $(CRATE_PATH)/.cargo-checksum.json; \ fi && \ - if $(call CARGO_TARGET_CHECK,bin); then \ + if $(CARGO_HAS_BIN) && $(call CARGO_TARGET_CHECK,bin); then \ $(CARGO) install $(CARGO_OPTIONS) --no-track --path .; \ fi endef