Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 4A560EB64DC for ; Tue, 18 Jul 2023 20:35:05 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 0A9FB86712; Tue, 18 Jul 2023 22:34:45 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=kwiboo.se Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=kwiboo.se header.i=@kwiboo.se header.b="e4NW7ysV"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id A86DE86712; Tue, 18 Jul 2023 22:34:38 +0200 (CEST) Received: from s.wrqvwxzv.outbound-mail.sendgrid.net (s.wrqvwxzv.outbound-mail.sendgrid.net [149.72.154.232]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 6D55F86708 for ; Tue, 18 Jul 2023 22:34:35 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=kwiboo.se Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=bounces+31435339-7456-u-boot=lists.denx.de@em2124.kwiboo.se DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kwiboo.se; h=from:subject:in-reply-to:references:mime-version:to:cc: content-transfer-encoding:content-type:cc:content-type:from:subject:to; s=s1; bh=SCaYXQhKpVF5Ynlc2KBdbafLf7LN6/cxMxGerLPEkBs=; b=e4NW7ysV0gI6T0kelVP2n5hg26B2nc7xZRNgSGMFi0mvuijqwk9z0FtQSs4XJxnzyDgv jV9Ik9wYYFz+J9I+uaYPDwz6KR5/c+w6jPurFjX4KjFtiL1a5PgzQxRD4CfXx4L7G9WO9q vOdG4m+s0i2rBotmoWdlo+2rPGh8cnctbwkD9W3RxJWTVtxNJjI0CkMFmhNHAFgjZrWtIT GKPPccu4voxiA/wS8jgP2prxkLGFtliVK9N006sTdht6l4wPCVxaouYxsyaaZsmO42Gc1d 491JJGsBdKM2eiY4ILAXZNE98WXpjKz5SKLPNbqNUYUvD2nTIv/wBbMh2cD0jAmg== Received: by filterdrecv-66949dbc98-p7b6v with SMTP id filterdrecv-66949dbc98-p7b6v-1-64B6F75A-3 2023-07-18 20:34:34.072965937 +0000 UTC m=+5950488.124597842 Received: from bionic.localdomain (unknown) by geopod-ismtpd-9 (SG) with ESMTP id YxEr_MrPTZ-f_s7cSSlD5w Tue, 18 Jul 2023 20:34:33.878 +0000 (UTC) From: Jonas Karlman Subject: [PATCH v2 2/7] binman: Update missing optional external blob warning text Date: Tue, 18 Jul 2023 20:34:34 +0000 (UTC) Message-ID: <20230718203423.264341-3-jonas@kwiboo.se> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20230718203423.264341-1-jonas@kwiboo.se> References: <20230718203423.264341-1-jonas@kwiboo.se> MIME-Version: 1.0 X-SG-EID: =?us-ascii?Q?TdbjyGynYnRZWhH+7lKUQJL+ZxmxpowvO2O9SQF5CwCVrYgcwUXgU5DKUU3QxA?= =?us-ascii?Q?fZekEeQsTe+RrMu3cja6a0hyf0lyQJ6JJ88gL91?= =?us-ascii?Q?VB4VAAzRg3J3oEocJFMfOSEZhh6ZEK2xZz9TwpQ?= =?us-ascii?Q?J6S7li7kXo1Jf7K=2Fm0XSXUWq1ZRbWiIq6w1mZ=2F1?= =?us-ascii?Q?FYMvmPaM46cOMV77aUso0+7IbOLvqKQhuiZLCIW?= =?us-ascii?Q?gw3XRXHLh4mNRy5SotIbjQ11yBmSMSBfxJ6bGi?= To: Simon Glass , Alper Nebi Yasak Cc: u-boot@lists.denx.de, Jonas Karlman X-Entity-ID: P7KYpSJvGCELWjBME/J5tg== Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=us-ascii X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.8 at phobos.denx.de X-Virus-Status: Clean Make it more clear that the missing external blob is optional in the printed warning message. Signed-off-by: Jonas Karlman --- v2: - New patch tools/binman/control.py | 2 +- tools/binman/ftest.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/binman/control.py b/tools/binman/control.py index 25e66814837d..3560cadba4c2 100644 --- a/tools/binman/control.py +++ b/tools/binman/control.py @@ -674,7 +674,7 @@ def ProcessImage(image, update_fdt, write_map, get_contents=True, image.CheckOptional(optional_list) if optional_list: tout.warning( - "Image '%s' is missing external blobs but is still functional: %s" % + "Image '%s' is missing optional external blobs but is still functional: %s" % (image.name, ' '.join([e.name for e in optional_list]))) _ShowHelpForMissingBlobs(optional_list) diff --git a/tools/binman/ftest.py b/tools/binman/ftest.py index e53181afb78a..152f800c676c 100644 --- a/tools/binman/ftest.py +++ b/tools/binman/ftest.py @@ -6330,7 +6330,7 @@ fdt fdtmap Extract the devicetree blob from the fdtmap err = stderr.getvalue() self.assertRegex( err, - "Image '.*' is missing external blobs but is still functional: missing") + "Image '.*' is missing optional external blobs but is still functional: missing") def testSectionInner(self): """Test an inner section with a size""" -- 2.41.0