From nobody Sun Sep 21 23:20:06 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; dkim=fail; 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 1756882413995534.2452641903002; Tue, 2 Sep 2025 23:53:33 -0700 (PDT) Received: from authenticated-user (PRIMARY_HOSTNAME [PUBLIC_IP]) by coreboot.org (Postfix) with ESMTPA id 916124047A; Wed, 3 Sep 2025 06:53:31 +0000 (UTC) Received: from authenticated-user (PRIMARY_HOSTNAME [PUBLIC_IP]) (fhigh-a2-smtp.messagingengine.com [103.168.172.153]) by coreboot.org (Postfix) with ESMTP id 24595403BA for ; Wed, 3 Sep 2025 06:51:39 +0000 (UTC) Received: from authenticated-user (PRIMARY_HOSTNAME [PUBLIC_IP]) by mailfhigh.phl.internal (Postfix) with ESMTP id 47845140031C; Wed, 3 Sep 2025 02:51:38 -0400 (EDT) Received: from authenticated-user (PRIMARY_HOSTNAME [PUBLIC_IP]) by phl-compute-04.internal (MEProxy); Wed, 03 Sep 2025 02:51:38 -0400 Received: from authenticated-user (PRIMARY_HOSTNAME [PUBLIC_IP]) 3 Sep 2025 02:51:36 -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=1756882298; x=1756968698; bh=FFJL+aFvVQE0Uszaw35FXrdGBBhIYR7+jB3hsbjs8M4=; b= jmgyrDiZ4Nahrxxvt+Ip9tsfK6wkKSZg3owkvfqaJIgpOaSUrHdWS9uYtUb/eEYz hf54DD8QArgORsMKgjPPrXgUsnzQTj7ZeqVSuyepo5xfRYTezkQqydyLYmq1er7G 0pJXQlvniiAt/bCMI49tZuOg5OXPpypjipLVq/vzBFKgJT/nB99NYbhmEAEqfpbo Yfh/1wieE6F++VYa4t2tZ5UdRXH6ER6jErpbpzoL2MPnKlgUk1URvtY1JAatqDem Gxva1Qer6QHjUCtuDynLaJvbPzTwjlY3BFyW+3LPZ5vdkdPbzUWzJrhFwZFQcE9t TIVIHkmEiHKfs2QYzU9w/w== 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=1756882298; x= 1756968698; bh=FFJL+aFvVQE0Uszaw35FXrdGBBhIYR7+jB3hsbjs8M4=; b=S P/hDgg0wmFoNdU8FD692Xs9AJfgoWPPRJmrMVqROnHqAroTg2cFeXBqdl+GpmzfT vl8XEQDDGbIAkhh/mHkPFxKEO3PcOcqQyK1a9jKi5gXc0QUaMrGPXb2oKzj9+zSp r4vhm4WoU0rHpMV1OsiR4j2HAnxpj+n1U3AEWYjKG3N9NIzTwkFxksIRuR3MJAFg 3omNhlqjRkmBAd31fUSBZcow3gPKBTMAaBvRwBbAeEbx7baP5ReOAgBIX82Ri6RF CSDOEuhHTL1CDol0EG1vM269jaH2n3lKwB8v7NXL5fWm7ieLzYYpAn5fjr13TBIT PZ4Y0ODTmRI2Qz/Idslwg== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeffedrtdeggddvgeeiucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfurfetoffkrfgpnffqhgenuceurghi lhhouhhtmecufedttdenucenucfjughrpefhfffugggtgffkfhgjvfevofesthejredtre dtjeenucfhrhhomheplfhirgiguhhnucgjrghnghcuoehjihgrgihunhdrhigrnhhgsehf lhihghhorghtrdgtohhmqeenucggtffrrghtthgvrhhnpedvkeeihfefveekueevteefle ffkeegudeghfdtuddugefhueevgeffgedukeejleenucevlhhushhtvghrufhiiigvpedt necurfgrrhgrmhepmhgrihhlfhhrohhmpehjihgrgihunhdrhigrnhhgsehflhihghhorg htrdgtohhmpdhnsggprhgtphhtthhopedvpdhmohguvgepshhmthhpohhuthdprhgtphht thhopehsvggrsghiohhssehsvggrsghiohhsrdhorhhgpdhrtghpthhtohepjhhirgiguh hnrdihrghnghesfhhlhihgohgrthdrtghomh X-ME-Proxy: Feedback-ID: ifd894703:Fastmail From: Jiaxun Yang Date: Wed, 03 Sep 2025 06:51:27 +0000 MIME-Version: 1.0 Message-Id: <20250903-build-v2-6-8e8916974f9c@flygoat.com> References: <20250903-build-v2-0-8e8916974f9c@flygoat.com> In-Reply-To: <20250903-build-v2-0-8e8916974f9c@flygoat.com> To: seabios@seabios.org Message-ID-Hash: 3H3LOWXTQSBM5ICWA7T7DJXQMO37GNEO X-Message-ID-Hash: 3H3LOWXTQSBM5ICWA7T7DJXQMO37GNEO 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 v2 6/9] 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-ZohoMail-DKIM: fail (found 2 invalid signatures) X-ZM-MESSAGEID: 1756882415577116600 Content-Type: text/plain; charset="utf-8" Some of our python3 scripts are python3 only. We can't assume python is python3 on build platforms. Explictly use python3 for running those scripts. Signed-off-by: Jiaxun Yang --- 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 b5660928c2056970e3174be368e65752a948f16a..64bd55d997009b2838d7ede437c= a7dd5e860d84e 100644 --- a/Makefile +++ b/Makefile @@ -24,7 +24,7 @@ LD=3D$(CROSS_PREFIX)ld OBJCOPY=3D$(CROSS_PREFIX)objcopy OBJDUMP=3D$(CROSS_PREFIX)objdump STRIP=3D$(CROSS_PREFIX)strip -PYTHON=3Dpython +PYTHON=3Dpython3 LD32BIT_FLAG:=3D-melf_i386 =20 # Source files 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 2.43.0 _______________________________________________ SeaBIOS mailing list -- seabios@seabios.org To unsubscribe send an email to seabios-leave@seabios.org