From nobody Fri Dec 19 20:59:52 2025 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of seabios.org designates 78.46.105.101 as permitted sender) client-ip=78.46.105.101; envelope-from=seabios-bounces@seabios.org; helo=coreboot.org; Authentication-Results: mx.zohomail.com; spf=pass (zohomail.com: domain of seabios.org designates 78.46.105.101 as permitted sender) smtp.mailfrom=seabios-bounces@seabios.org; dmarc=fail(p=none dis=none) header.from=flygoat.com Return-Path: Received: from coreboot.org (mail.coreboot.org [78.46.105.101]) by mx.zohomail.com with SMTPS id 1748621661787486.8628520926353; Fri, 30 May 2025 09:14:21 -0700 (PDT) Received: from authenticated-user (PRIMARY_HOSTNAME [PUBLIC_IP]) by coreboot.org (Postfix) with ESMTPA id 2B3E1406F3; Fri, 30 May 2025 16:14:19 +0000 (UTC) Received: from authenticated-user (PRIMARY_HOSTNAME [PUBLIC_IP]) (fout-a4-smtp.messagingengine.com [103.168.172.147]) by coreboot.org (Postfix) with ESMTP id DCAC0405B1 for ; Fri, 30 May 2025 16:12:25 +0000 (UTC) Received: from authenticated-user (PRIMARY_HOSTNAME [PUBLIC_IP]) [10.202.2.41]) by mailfout.phl.internal (Postfix) with ESMTP id 0193B138016C; Fri, 30 May 2025 12:12:25 -0400 (EDT) Received: from authenticated-user (PRIMARY_HOSTNAME [PUBLIC_IP]) by phl-compute-01.internal (MEProxy); Fri, 30 May 2025 12:12:25 -0400 Received: from authenticated-user (PRIMARY_HOSTNAME [PUBLIC_IP]) 30 May 2025 12:12:24 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=flygoat.com; h= cc:cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to; s=fm2; t=1748621544; x=1748707944; bh=E8JqCGjg+R3efsorR0XnUZpeApd0AovlO+jbit72AS8=; b= SnAfYwnkj8Qs5Bodx6YKTsOI7bPzyMjQ+xFlGUaqoddJEqikCKW0LuYiG7bMklxo EJxDDQK8xZc1k4O91l8FFd8Yr3eNZpzPLUFTPNYTJ0i2nNkm5kgySu64soCE4Yva LVzQmLsQTTGVfPkS14dmOPn+dS+LTA92XexFQhZXMXiqcUH2On8Pbr8YTwwHd93Z 0qbWmyBVU+LrdBvUqJP5Jg581OuElcFW+yCRqrAiqnt7Ibs2vZdaYLxeRh03aL2f pdQVevsvmfAM1bsQdm0AhELF7XbCBcVxsvUHNNafNkzFVIck+eov1Uz2PO97ZzBP PAcV3/eFOog82FnMjGZrHA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t=1748621544; x= 1748707944; bh=E8JqCGjg+R3efsorR0XnUZpeApd0AovlO+jbit72AS8=; b=N DABAfAFPKOcu7gGFdnDe2H7BQy8fkaKZvFp5Nz/LR5Wh1+hxNvn/3JvlKGdNp5ti qYCVXYtLWe8TWoAFOGz5CpeGxZ4v/Wy4SzkpovmtmTdNKIZO/Etj4+6Vh2boOjNI LD/sMHrk0HPRzJLXoMIk26wCXWCwvvxyf4q+9xDr4yn95jDelqAzJrtvYO0Hm0gL IV7etsXa9Smd6Lj1ynHsj1mtcwrGTbS3YrxIanFKPfxGLwi6B2fzf0Jn7mCZea0l pTKlNVNXZuJ4ijBw/QfwaI/TYYHW4Y2hh4VptxETk8HX/SUYkACJANY6vaLtT5il XTTT53N/+URa2lKV8f2Uw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeffedrtddtgddvleegieculddtuddrgeefvddrtd dtmdcutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpggft fghnshhusghstghrihgsvgdpuffrtefokffrpgfnqfghnecuuegrihhlohhuthemuceftd dtnecunecujfgurhephfffufggtgfgkfhfjgfvvefosehtjeertdertdejnecuhfhrohhm peflihgrgihunhcujggrnhhguceojhhirgiguhhnrdihrghnghesfhhlhihgohgrthdrtg homheqnecuggftrfgrthhtvghrnhepvdekiefhfeevkeeuveetfeelffekgedugefhtddu udeghfeuveegffegudekjeelnecuvehluhhsthgvrhfuihiivgepvdenucfrrghrrghmpe hmrghilhhfrhhomhepjhhirgiguhhnrdihrghnghesfhhlhihgohgrthdrtghomhdpnhgs pghrtghpthhtohepvddpmhhouggvpehsmhhtphhouhhtpdhrtghpthhtohepshgvrggsih hoshesshgvrggsihhoshdrohhrghdprhgtphhtthhopehjihgrgihunhdrhigrnhhgsehf lhihghhorghtrdgtohhm X-ME-Proxy: Feedback-ID: ifd894703:Fastmail From: Jiaxun Yang Date: Fri, 30 May 2025 17:12:21 +0100 MIME-Version: 1.0 Message-Id: <20250530-build-v1-6-93fe220fd713@flygoat.com> References: <20250530-build-v1-0-93fe220fd713@flygoat.com> In-Reply-To: <20250530-build-v1-0-93fe220fd713@flygoat.com> To: seabios@seabios.org X-Developer-Signature: v=1; a=openpgp-sha256; l=5428; i=jiaxun.yang@flygoat.com; h=from:subject:message-id; bh=vRZOMJEm3B5sTOfsfIxfTJjF2RTTdZVoq+shUm3WBhw=; b=owGbwMvMwCXmXMhTe71c8zDjabUkhgzLGw8Nezf4m6+YZfL+ypXundoqHG07r2ttrVk4Oaudz +iLwDvZjlIWBjEuBlkxRZYQAaW+DY0XF1x/kPUHZg4rE8gQBi5OAZgI1yRGhgnW/dmJs4q1Hl0q N/hpfa0/Oosv6LrvuxeO8687rzR4+Ibhn24857UTjH2lthc82//8+H8grXPHNok4XpH4ZFkPlt2 3eQA= X-Developer-Key: i=jiaxun.yang@flygoat.com; a=openpgp; fpr=980379BEFEBFBF477EA04EF9C111949073FC0F67 Message-ID-Hash: G2ZXX4KGZ5KMPJVC5VAMOKXBFM6XLSKY X-Message-ID-Hash: G2ZXX4KGZ5KMPJVC5VAMOKXBFM6XLSKY X-MailFrom: jiaxun.yang@flygoat.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; loop; banned-address; header-match-seabios.seabios.org-0; header-match-seabios.seabios.org-1; emergency; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header CC: Jiaxun Yang X-Mailman-Version: 3.3.11b1 Precedence: list Subject: [SeaBIOS] [PATCH RESEND 6/7] scripts: Use python3 as python List-Id: SeaBIOS mailing list Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: Content-Transfer-Encoding: quoted-printable Authentication-Results: coreboot.org; auth=pass smtp.auth=mailman@coreboot.org smtp.mailfrom=seabios-bounces@seabios.org X-Spamd-Bar: ---- X-ZM-MESSAGEID: 1748621664084116600 Content-Type: text/plain; charset="utf-8" We can't assume python is python3 on build platforms. Explictly use python3 for running those scripts. Signed-off-by: Jiaxun Yang Reviewed-by: Philippe Mathieu-Daud=C3=A9 --- Makefile | 2 +- scripts/buildrom.py | 2 +- scripts/buildversion.py | 2 +- scripts/checkrom.py | 2 +- scripts/checkstack.py | 2 +- scripts/checksum.py | 2 +- scripts/encodeint.py | 2 +- scripts/layoutrom.py | 2 +- scripts/ldnoexec.py | 2 +- scripts/readserial.py | 2 +- scripts/transdump.py | 2 +- scripts/vgafixup.py | 2 +- 12 files changed, 12 insertions(+), 12 deletions(-) diff --git a/Makefile b/Makefile index ae168e212b51366df966aae11b3fd8af3f49e9e7..b41bb7cbe94bdd7510594438e2a= 452477805a908 100644 --- a/Makefile +++ b/Makefile @@ -23,7 +23,7 @@ CC=3D$(CROSS_PREFIX)gcc OBJCOPY=3D$(CROSS_PREFIX)objcopy OBJDUMP=3D$(CROSS_PREFIX)objdump STRIP=3D$(CROSS_PREFIX)strip -PYTHON=3Dpython +PYTHON=3Dpython3 =20 # Source files SRCBOTH=3Dmisc.c stacks.c output.c string.c block.c cdrom.c disk.c \ diff --git a/scripts/buildrom.py b/scripts/buildrom.py index 48bfc177d27f1a4eb4984f5d1a1ff12413cceb6e..a4a7b95f8d3170bf5f231e6f41e= da17953cd2134 100755 --- a/scripts/buildrom.py +++ b/scripts/buildrom.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # Fill in checksum/size of an option rom, and pad it to proper length. # # Copyright (C) 2009 Kevin O'Connor diff --git a/scripts/buildversion.py b/scripts/buildversion.py index 8875497cb72cb26f6e438d10419c4583b61c5b64..13624ce8aa996e805e9c7cd0892= 0e2608d504869 100755 --- a/scripts/buildversion.py +++ b/scripts/buildversion.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # Generate version information for a program # # Copyright (C) 2015 Kevin O'Connor diff --git a/scripts/checkrom.py b/scripts/checkrom.py index a5b15a4c2816cffecc99dc9e2da6e3d9f87f2bb6..7d73eebb67db229c4bee2c977de= e764dd7ff22cb 100755 --- a/scripts/checkrom.py +++ b/scripts/checkrom.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # Script to check a bios image and report info on it. # # Copyright (C) 2008 Kevin O'Connor diff --git a/scripts/checkstack.py b/scripts/checkstack.py index 255768aebce0341f0bb06d13973e653735aa5154..3bb58bc8d5f5e021ec1cbe2f74e= 4c6b3a641e6a9 100755 --- a/scripts/checkstack.py +++ b/scripts/checkstack.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # Script that tries to find how much stack space each function in an # object is using. # diff --git a/scripts/checksum.py b/scripts/checksum.py index 773fa7aa9f956385ea20e055275b481adec8b4a4..87cce60319a43b256c2689ef282= b19d6b68c2121 100755 --- a/scripts/checksum.py +++ b/scripts/checksum.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # Script to report the checksum of a file. # # Copyright (C) 2009 Kevin O'Connor diff --git a/scripts/encodeint.py b/scripts/encodeint.py index 0d34aee071ffea8fd7b489cfae82fcc6e6528091..e861d8156b0db440f8301dd5391= 15e739bfbadf8 100755 --- a/scripts/encodeint.py +++ b/scripts/encodeint.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # Encode an integer in little endian format in a file. # # Copyright (C) 2011 Kevin O'Connor diff --git a/scripts/layoutrom.py b/scripts/layoutrom.py index abebf0211fa9627cec31cce76b8d55e688445b45..a193f258123bd36e8c6bdf455af= f6584d4216efd 100755 --- a/scripts/layoutrom.py +++ b/scripts/layoutrom.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # Script to analyze code and arrange ld sections. # # Copyright (C) 2008-2014 Kevin O'Connor diff --git a/scripts/ldnoexec.py b/scripts/ldnoexec.py index 60bed078866363a52c573360b3426dc91af0ebc1..97e0f387c9fa88e8d3cc958922e= e90d3d93db166 100755 --- a/scripts/ldnoexec.py +++ b/scripts/ldnoexec.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # Script to remove EXEC flag from an ELF file # # Copyright (C) 2020 Kevin O'Connor diff --git a/scripts/readserial.py b/scripts/readserial.py index e3f56e5da57c1a97c59ab856f82fae6c2346363c..b64fe07dc9bd709d8fd56fa1123= c4e0fa2a45cd5 100755 --- a/scripts/readserial.py +++ b/scripts/readserial.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # Script that can read from a serial device and show timestamps. # # Copyright (C) 2009 Kevin O'Connor diff --git a/scripts/transdump.py b/scripts/transdump.py index 665f04a000fccd9250a94357be9c16891a45c855..9877b33a2380a61138c4c6236de= c059be2e87b95 100755 --- a/scripts/transdump.py +++ b/scripts/transdump.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 =20 # This script is useful for taking the output of memdump() and # converting it back into binary output. This can be useful, for diff --git a/scripts/vgafixup.py b/scripts/vgafixup.py index 2053cd5d78e5935658e1fecec074b258ba1d75ba..01ec81496a18995197b4095217f= be25fd90b081d 100644 --- a/scripts/vgafixup.py +++ b/scripts/vgafixup.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # Work around x86emu bugs by replacing problematic instructions. # # Copyright (C) 2012 Kevin O'Connor --=20 Git-154) _______________________________________________ SeaBIOS mailing list -- seabios@seabios.org To unsubscribe send an email to seabios-leave@seabios.org