From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 7128466769373560832 X-Received: by 2002:a5d:4e52:0:b0:21f:15aa:1174 with SMTP id r18-20020a5d4e52000000b0021f15aa1174mr5043545wrt.106.1659725506933; Fri, 05 Aug 2022 11:51:46 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a5d:5234:0:b0:221:24a2:5cf with SMTP id i20-20020a5d5234000000b0022124a205cfls6340823wra.0.-pod-prod-gmail; Fri, 05 Aug 2022 11:51:45 -0700 (PDT) X-Google-Smtp-Source: AA6agR7JviSIkbvhQ9AjTUWf0R741qC1GgqYUms+1dWP/8DbQGQMXrNKp8XDD2DefQcvrgk4zoEU X-Received: by 2002:adf:cd90:0:b0:21f:ba2:2b20 with SMTP id q16-20020adfcd90000000b0021f0ba22b20mr4945299wrj.162.1659725505916; Fri, 05 Aug 2022 11:51:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1659725505; cv=none; d=google.com; s=arc-20160816; b=zss75t3n3MAZJiOV3pRMVU5nHI6ltiNiYe1yeebFnzdjz6RUSgiU02VbZRoTPG+x4Z eAUS03WIGme9WVF/Z/4iz2tdGD7Wmw0H256bBIT5rHHmKAreaxJoYsZxru16IbPH5/L9 nHAqFzOWYvuYl/0MlYf25PwUb/DP9NuNQ0DpA7B3BgtRiA6wwqoIQh+rIKbNoEXzqv7p D8qKlTN5AroY5etcl/S52HGPP+8of3yjeTtgN0zbCUrB4w0YoQq17err8w9H4NR6dxsF gXGFp/h1LisUAeSvuNPIW6VVXCCQ8SC4ktW9GKhLTtZgHeyksw/1OVIEp1ynAM+697hl XxpA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=feedback-id:content-transfer-encoding:mime-version:references :in-reply-to:message-id:date:subject:cc:to:from:dkim-signature; bh=GMdOQXr+CC+fJiDBfaggNsTcUDOrvtqQvT2GnfJ72as=; b=lABamlc9qtiDhP3mgRESMm6vOa7u2S0GxUSYhrhFrYSTFqCluhIMUYrESf/UMPd4zW SUZk5qkK6E0n33TUZYlFelf3ripyKxloJMwQFpJ6V5riiE5POv9nBnAGwyVEHFPmk4oY lCD1zSLiKFx5xnCBRAQZm6tX/1At4c3gdKVHAw3VQaXw/RarCgqGximtb0YWKQ6iKpwh OdBo8vYaqKekkqctO7ceTXKE/y0MqkymexPRNd/mwg6aEnATnqy26lYCvqQTUN/d5Vp/ w7R+Zjal+zqCkPyFd8XgVp9+ynlQDdR1xFGgE2xp3HJBW4WrIK4pOnvqciIVRDR4vZj/ IVmw== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@siemens.com header.s=fm2 header.b=WSRPU1oU; spf=pass (google.com: domain of fm-294854-202208051851453e6e14b07479683f8c-gwyeyb@rts-flowmailer.siemens.com designates 185.136.65.227 as permitted sender) smtp.mailfrom=fm-294854-202208051851453e6e14b07479683f8c-GWyEYb@rts-flowmailer.siemens.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=siemens.com Return-Path: Received: from mta-65-227.siemens.flowmailer.net (mta-65-227.siemens.flowmailer.net. [185.136.65.227]) by gmr-mx.google.com with ESMTPS id 189-20020a1c19c6000000b003a31bb11cdfsi470323wmz.2.2022.08.05.11.51.45 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Fri, 05 Aug 2022 11:51:45 -0700 (PDT) Received-SPF: pass (google.com: domain of fm-294854-202208051851453e6e14b07479683f8c-gwyeyb@rts-flowmailer.siemens.com designates 185.136.65.227 as permitted sender) client-ip=185.136.65.227; Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@siemens.com header.s=fm2 header.b=WSRPU1oU; spf=pass (google.com: domain of fm-294854-202208051851453e6e14b07479683f8c-gwyeyb@rts-flowmailer.siemens.com designates 185.136.65.227 as permitted sender) smtp.mailfrom=fm-294854-202208051851453e6e14b07479683f8c-GWyEYb@rts-flowmailer.siemens.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=siemens.com Received: by mta-65-227.siemens.flowmailer.net with ESMTPSA id 202208051851453e6e14b07479683f8c for ; Fri, 05 Aug 2022 20:51:45 +0200 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; s=fm2; d=siemens.com; i=jan.kiszka@siemens.com; h=Date:From:Subject:To:Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding:Cc:References:In-Reply-To; bh=GMdOQXr+CC+fJiDBfaggNsTcUDOrvtqQvT2GnfJ72as=; b=WSRPU1oUTximNlCmWp+OLP/gU2NUo2sXFTuRfhx11Oh/Fn7O0n9zLw8upXvRIN0bD9QyfI VNyNswdIFG511j16v64hS8FCaKejQd0K+79V55kzpMP4F6luMRdKqKBflj+N626GUitIN6qP jKu3pBDwXsMXx749/CUHaZJNqk2ag=; From: Jan Kiszka To: isar-users Cc: Henning Schild Subject: [PATCH 3/9] wic: fix WicError message Date: Fri, 5 Aug 2022 20:51:38 +0200 Message-Id: <2bc8d6000b7716d50c8d70d4c58bbf498c9041b0.1659725504.git.jan.kiszka@siemens.com> In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Flowmailer-Platform: Siemens Feedback-ID: 519:519-294854:519-21489:flowmailer X-TUID: PezXg8WXel/e From: Martin Jansa * add missing % to print the values instead of: | INFO: Build artifacts not found, exiting. | INFO: (Please check that the build artifacts for the machine | INFO: selected in local.conf actually exist and that they | INFO: are the correct artifacts for the image (.wks file)). | | ERROR: ("The artifact that couldn't be found was %s:\n %s", 'kernel-dir', '/OE/build/deploy/images/qemux86-64') Signed-off-by: Martin Jansa Signed-off-by: Luca Ceresoli Signed-off-by: Richard Purdie --- scripts/wic | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/wic b/scripts/wic index aee63a45..06e0b48d 100755 --- a/scripts/wic +++ b/scripts/wic @@ -209,7 +209,7 @@ def wic_create_subcommand(options, usage_str): logger.info(" (Please check that the build artifacts for the machine") logger.info(" selected in local.conf actually exist and that they") logger.info(" are the correct artifacts for the image (.wks file)).\n") - raise WicError("The artifact that couldn't be found was %s:\n %s", not_found, not_found_dir) + raise WicError("The artifact that couldn't be found was %s:\n %s" % (not_found, not_found_dir)) krootfs_dir = options.rootfs_dir if krootfs_dir is None: -- 2.35.3