From patchwork Tue Feb 22 12:51:22 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michael Tremer X-Patchwork-Id: 5259 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 4K2zbQ0zg4z3xgb for ; Tue, 22 Feb 2022 12:52:34 +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 4K2zZt5zvfz5b7; Tue, 22 Feb 2022 12:52:06 +0000 (UTC) Received: from mail02.haj.ipfire.org (localhost [127.0.0.1]) by mail02.haj.ipfire.org (Postfix) with ESMTP id 4K2zZt5dXRz32MF; Tue, 22 Feb 2022 12:52:06 +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 4K2zZj14h7z32Mc for ; Tue, 22 Feb 2022 12:51:57 +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 4K2zZh4xzYz5Wb; Tue, 22 Feb 2022 12:51:56 +0000 (UTC) DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003ed25519; t=1645534316; 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=LFHKeKU7UjKr/iaU0DR9mz1P3g7MnxgJ/l3Mjfy25zE=; b=f/6Xh9VU32tPk7joSQqG9NLj4a4z/Km3G7UQzSjtzdkEU9z+uvQvrhAHM/fu19gE1mF7LS +5FDDVWlsJpwKEDw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003rsa; t=1645534316; 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=LFHKeKU7UjKr/iaU0DR9mz1P3g7MnxgJ/l3Mjfy25zE=; b=sIqSSmdBcGMnARRSV5ApcHyrRUokzCkP7hNBU42pAIAn/ozYNEkcd+JgNNDFQqLggMtRqX nRQa+v6TumzJ7FM8mfj53fEDpa+CJd4fwfpMfaeTCcnkRguQt8RQZXZg78ojnpAqq5IXuM P6QC8poeBF/tfZhLYgI1dGtTfDqKpYz/U8ddrwIj0M1IUzs6Z7+no2I4p/2+WjH+3nZNgd uz84A1+11m0bYf9kT3Z0iC1xeA1rWjEdNEJmyuLCUk+2GpTPZ1R15UgrJBsA3T12UKtCtc 2ZirN6LO5/ZgMoJqZtGTO4Z3xAYZSgAdpkeXBxrp/WzlAHzik5Amx4VsX6FQeA== From: Michael Tremer To: development@lists.ipfire.org Subject: [PATCH 37/50] make.sh: Follow symlinks when checking if QEMU is static Date: Tue, 22 Feb 2022 12:51:22 +0000 Message-Id: <20220222125135.1211290-38-michael.tremer@ipfire.org> In-Reply-To: <20220222125135.1211290-1-michael.tremer@ipfire.org> References: <20220222125135.1211290-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" Signed-off-by: Michael Tremer --- make.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/make.sh b/make.sh index 86e36d41d..ed8cd260e 100755 --- a/make.sh +++ b/make.sh @@ -912,7 +912,7 @@ qemu_find_build_helper_name() { file_is_static() { local file="${1}" - file ${file} 2>/dev/null | grep -q "statically linked" + file -L "${file}" 2>/dev/null | grep -q "statically linked" } update_language_list() {