From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by spool.mail.gandi.net (Postfix) with ESMTPS id 1773B740035 for ; Wed, 29 Nov 2023 00:03:19 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=A4T2HTMq9xywLjbQhw3Q8im0po9wjt0hXwJcACgIRwc=; c=relaxed/simple; d=groups.io; h=ARC-Seal:ARC-Message-Signature:ARC-Authentication-Results:From:To:CC:Subject:Thread-Topic:Thread-Index:Date:Message-ID:References:In-Reply-To:Accept-Language:MIME-Version:Precedence:List-Subscribe:List-Help:Sender:List-Id:Mailing-List:Delivered-To:Reply-To:List-Unsubscribe-Post:List-Unsubscribe:Content-Language:Content-Type:Content-Transfer-Encoding; s=20140610; t=1701216198; v=1; b=OEjWwKXoaBBtaBV9XNx/awc1V3i8rVXDY8t4y6K3L1i/wcFMhzB7g0rytA4taFmvGlV10OdX oPt5LWFvYZTmZ7aYnWTKE2aKocIioKUYieHh9vQAfK9HHOfwF6kcTWPdLyQOIz1WdkdRzFJW0Y+ n8k6ite/fwdoAPpF4kz+XtU8= X-Received: by 127.0.0.2 with SMTP id rlUpYY7687511xNOA3JZIpOx; Tue, 28 Nov 2023 16:03:18 -0800 X-Received: from mgamail.intel.com (mgamail.intel.com [134.134.136.24]) by mx.groups.io with SMTP id smtpd.web10.14675.1701216197457406955 for ; Tue, 28 Nov 2023 16:03:17 -0800 X-IronPort-AV: E=McAfee;i="6600,9927,10908"; a="395875642" X-IronPort-AV: E=Sophos;i="6.04,234,1695711600"; d="scan'208";a="395875642" X-Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 28 Nov 2023 16:03:16 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10908"; a="803104767" X-IronPort-AV: E=Sophos;i="6.04,234,1695711600"; d="scan'208";a="803104767" X-Received: from orsmsx603.amr.corp.intel.com ([10.22.229.16]) by orsmga001.jf.intel.com with ESMTP/TLS/AES256-GCM-SHA384; 28 Nov 2023 16:03:16 -0800 X-Received: from orsmsx610.amr.corp.intel.com (10.22.229.23) by ORSMSX603.amr.corp.intel.com (10.22.229.16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.34; Tue, 28 Nov 2023 16:03:16 -0800 X-Received: from ORSEDG601.ED.cps.intel.com (10.7.248.6) by orsmsx610.amr.corp.intel.com (10.22.229.23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.34 via Frontend Transport; Tue, 28 Nov 2023 16:03:16 -0800 X-Received: from NAM04-DM6-obe.outbound.protection.outlook.com (104.47.73.40) by edgegateway.intel.com (134.134.137.102) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.34; Tue, 28 Nov 2023 16:03:15 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=LqK6DW6Q2nfRQZgizipXjpaWRay81h1DmQqPnG53tIOkDcsNlWeuD5QdeZNgRiLy+kbEtjuHoIfBR6VNcs1of55QU+HcNlb0hWr+XG0qBZ8M31R1Wjt3AKrjudDQD+y0HMUpNwsEYM2qKI5/+u3rVz3ERGqvGp+tJqQzrIkrgXW/TmMVPGj3o39i+iWINSl1VwGLc95WkRK+s3VTKeJpAwaWiFd+u16vzX1zO60H1Vxj9SLm6+qtDR1cw4fKimkMrw/ThUHWO8r0BiidHmHZVYDL+8BjSyq6d4jP+3jggk9opK++pVkZnTKPA7N/bZcW0Y59qTitkYTa9WkrFImEiw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=HvZSDwD3+doqttpLRWQECnGOp7NY7ro6ZQuMvPrdoUQ=; b=m2qCBQPyDOj2PkMhzNoq4zFH3T7RiQBq0wrU6UNTXbbEyvEU5A1wwKjuE8lviGeUo2wRwIPwiKvg3ZEOKz5BzQmuZOUGJeSAsynTBt/yUTCz97riUo/jXrMVZx0ImRZqDZRsL5QaruUFL0tkY5Tv3vlVu1voLqgSndU5ysn3XNEl7t/pBsSOuK3zP8C53zmpZ73cKUuQfDAI5AiX7+5Xg30S8H/5Fhf+CZscxb2/o0ITbvQh0Ms9li4e6IbqPEFH2iJ6fcvE4K/lX5aKXT92WEEt8LKFEPzF90U2BiA79T69Vh3/gaWV+gRDb7gO2I7s1Vuf8SAFHp1OfQ9rqOMI4Q== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none X-Received: from MW4PR11MB5821.namprd11.prod.outlook.com (2603:10b6:303:184::5) by MW4PR11MB5911.namprd11.prod.outlook.com (2603:10b6:303:16b::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7025.29; Wed, 29 Nov 2023 00:03:12 +0000 X-Received: from MW4PR11MB5821.namprd11.prod.outlook.com ([fe80::ced7:2db7:4cae:ab0]) by MW4PR11MB5821.namprd11.prod.outlook.com ([fe80::ced7:2db7:4cae:ab0%7]) with mapi id 15.20.7025.022; Wed, 29 Nov 2023 00:03:12 +0000 From: "Nate DeSimone" To: "devel@edk2.groups.io" CC: "Chiu, Chasel" Subject: Re: [edk2-devel] [edk2-platforms][PATCH v1] PurleyOpenBoardPkg: Replace Python Interpreter Name Thread-Topic: [edk2-devel] [edk2-platforms][PATCH v1] PurleyOpenBoardPkg: Replace Python Interpreter Name Thread-Index: AQHaGem4CTy5jiRNrkG6AiZAiUrPlbCQeoOg Date: Wed, 29 Nov 2023 00:03:12 +0000 Message-ID: References: <20231118063629.1397-1-nathaniel.l.desimone@intel.com> <1798A43863B4D009.26894@groups.io> In-Reply-To: <1798A43863B4D009.26894@groups.io> Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-publictraffictype: Email x-ms-traffictypediagnostic: MW4PR11MB5821:EE_|MW4PR11MB5911:EE_ x-ms-office365-filtering-correlation-id: 1b002226-81cf-4b40-d718-08dbf06e944f x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam-message-info: ChRzzudRApZ+bZTnbEqdO8kpuxKWkPnSnVf9byrIBtarjG/iKEmoI7+ewICk8TWz4K6CrH9jbUSYMvjNUIhpHXirmhs1XokOZJbL1LFHbd9gJPYLsAjMFXH/tF5pReMrzlTR0FJ2xg9apOR7ORrK8KOh2tQlnwZFcsYTJ21XWkZGFTe79kg+h80LPgTETRc2Vbl148kGE/5yR/DSZusT0OLRF4YLG5TN9YNkg+unXJES+Pf+VImKg4LqxUxdZlFZCS5zIsG/9R3vcdcLnFHb2KV/CRNxo2uQmD+hJg6V58EZil5e3ZNBsaj4vqUMQAoKfngNX/FMD5dBmYw0HoqX4jzOdrsS3okkP45G9i/lnyqkg+WMg89vG3jdJCNx0VI2pNeaTv/kxaEp/qwS5EUisH6rOxWK8QtbrP5sMzrlKezrWtRbdF2s2PKopEBwUn6qpg2Nok5BKxE06MyD2Ad/z+WNk/1ETDAlG8fObkNeqw8Qwk/rMJDhliE4VOkvFiFQx0hnSQLdOIvfiRIKEK2eyEzrke8cplueX+13YPahaNsR9ek0sRJq9GG8IRi3yUfyqxxNK5b4f72Qj+A4E2BbBIyAjvr7wf4KWb3uDELFuGrhtJgvQrEjSL7xH4KCYPYSRNkInQSMxA9zgaEuQ3Jobw== x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?OQqmY5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pZ269VyvS?= =?us-ascii?Q?AoiXgb7fNEGE9BjNZE7K7k5awCvhZ7AruidiEZuRct6+/LbUU6do0TjvtvHd?= =?us-ascii?Q?d/v4mjYcyBV612YxmBwDy6kXbqIW4XK+QbL/LWhNP//tV+bwFSfYtMOGzCw7?= =?us-ascii?Q?RB9GcmeHTD3R9ROxWyrwmu7MYnsYyTK2insQdlWAvPpovZ/zHWPVG0OP+4AU?= =?us-ascii?Q?KFIn9v+PeBDhTicwuaZPQKvdMk666Nzoy13KkHjxdXS7aqg095/UnUdAhYr8?= =?us-ascii?Q?e8xAHPN9aopqGw9n2p03Nd8LfLk9iaiI3alk/5uAiXHfCh+YYJqrNRtFaVnN?= =?us-ascii?Q?pBAzQ79g5YvrkJronQEd0pzLFCAcnUwAbhcmNF7SOXTFnXD0ZV11E2599WsO?= =?us-ascii?Q?lwvX1Pne+gHl7H1rF+3t5X4UtHbEaEDbm0QGVn3pSy4H965K9zj45PySYp6q?= =?us-ascii?Q?17Q6DqFENqBFG4nNY6yfpno4YoLVIV3ub4p+De37VPJo6UjNa5I2laSAqWKA?= =?us-ascii?Q?w1UflWcMyaOQZ4u+PkZIMcTCUeG0pmQcSnLQb/fQGBJoRqOd14zYScSvYmce?= =?us-ascii?Q?VgG5Q/Ai7JNge14BJzmMvef2z1aK9ELgM71c/EZUCIaDWohTj0EkgFHeSXu0?= =?us-ascii?Q?CysXCJ5xa97lVNyEGe8kG7wj8Ie+2qmh9WsugTA/ca3/kz4YCtl3x5xo3dL2?= =?us-ascii?Q?oeycc2Empc9NixNufCf08+l0XAa6T8y8NDX7i5ah8G+dzhufg4E9TYyUTg21?= =?us-ascii?Q?rQ=3D=3D?= MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: MW4PR11MB5821.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 1b002226-81cf-4b40-d718-08dbf06e944f X-MS-Exchange-CrossTenant-originalarrivaltime: 29 Nov 2023 00:03:12.7942 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: 8aYTkfOMkBsJRJHGGs8BqEiaJeM5Cr5rnWsJ4j9QO/KWBFzBkiHrvTVZXZtA4YLr+YImSqNDacS4m4yYLQ8iNWxCuD/DtygipojKsP3OLuQ= X-MS-Exchange-Transport-CrossTenantHeadersStamped: MW4PR11MB5911 X-OriginatorOrg: intel.com Precedence: Bulk List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,nathaniel.l.desimone@intel.com List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: X-Gm-Message-State: XDfE2XsWwXKHetW568kAXtsTx7686176AA= Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-GND-Status: LEGIT Authentication-Results: spool.mail.gandi.net; dkim=pass header.d=groups.io header.s=20140610 header.b=OEjWwKXo; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=intel.com (policy=none); spf=pass (spool.mail.gandi.net: domain of bounce@groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce@groups.io; arc=reject ("signature check failed: fail, {[1] = sig:microsoft.com:reject}") Pushed as 15e9fae -----Original Message----- From: devel@edk2.groups.io On Behalf Of Nate DeSimon= e Sent: Friday, November 17, 2023 10:36 PM To: devel@edk2.groups.io Cc: Chiu, Chasel Subject: [edk2-devel] [edk2-platforms][PATCH v1] PurleyOpenBoardPkg: Replac= e Python Interpreter Name Removes the assumption that the python interpreter will have the name pytho= n. Cc: Chasel Chiu Signed-off-by: Nate DeSimone --- .../PurleyOpenBoardPkg/BoardMtOlympus/build_board.py | 8 ++++---- .../PurleyOpenBoardPkg/BoardTiogaPass/build_board.py | 10 +++++----- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/Platform/Intel/PurleyOpenBoardPkg/BoardMtOlympus/build_board.p= y b/Platform/Intel/PurleyOpenBoardPkg/BoardMtOlympus/build_board.py index 2ba615d3e4..ffe762e289 100644 --- a/Platform/Intel/PurleyOpenBoardPkg/BoardMtOlympus/build_board.py +++ b/Platform/Intel/PurleyOpenBoardPkg/BoardMtOlympus/build_board.py @@ -1,7 +1,7 @@ # @ build_board.py # This adds additional functions to the build_bios.py # -# Copyright (c) = 2019, Intel Corporation. All rights reserved.
+# Copyright (c) 2019 - 2023, Intel Corporation. All rights=20 +reserved.
# SPDX-License-Identifier: BSD-2-Clause-Patent # =20 @@ -48,7 +48,7 @@ def pre_build_ex(config, functions): print("AML_FILTER=3D ", config.get("AML_FILTER")) =20 # build the command with arguments - command =3D ["python", + command =3D [sys.executable, os.path.join(config["MIN_PACKAGE_TOOLS"], "AmlGenOffset", "AmlGenOffset.py"), @@ -110,7 +110,7 @@ def po= st_build_ex(config, functions): print("post_build_ex Error") sys.exit(1) =20 - common_patch_command =3D [os.path.join(config["PYTHON_HOME"], "python"= ), + common_patch_command =3D [sys.executable, os.path.join(config["MIN_PACKAGE_TOOLS"], "PatchFv", "PatchBinFv.py"), config["TARGET"], @@ -131,7 +131,7 @@ def post= _build_ex(config, functions): print("Patch Error!") sys.exit(1) =20 - common_rebase_command =3D [os.path.join(config["PYTHON_HOME"], "python= "), + common_rebase_command =3D [sys.executable, os.path.join(config["MIN_PACKAGE_TOOLS"], "PatchFv", "RebaseBinFv.py"), config["TARGET"], diff --git a/Platform/Intel= /PurleyOpenBoardPkg/BoardTiogaPass/build_board.py b/Platform/Intel/PurleyOp= enBoardPkg/BoardTiogaPass/build_board.py index 46fd389ef1..3b66df7115 100644 --- a/Platform/Intel/PurleyOpenBoardPkg/BoardTiogaPass/build_board.py +++ b/Platform/Intel/PurleyOpenBoardPkg/BoardTiogaPass/build_board.py @@ -1,7 +1,7 @@ # @ build_board.py # This adds additional functions to the build_bios.py # -# Copyright (c) = 2018, Intel Corporation. All rights reserved.
+# Copyright (c) 2018 - 2023, Intel Corporation. All rights=20 +reserved.
# Copyright (c) 2021, American Megatrends International LLC.
# SPDX-L= icense-Identifier: BSD-2-Clause-Patent # @@ -49,7 +49,7 @@ def pre_build_e= x(config, functions): print("AML_FILTER=3D ", config.get("AML_FILTER")) =20 # build the command with arguments - command =3D ["python", + command =3D [sys.executable, os.path.join(config["MIN_PACKAGE_TOOLS"], "AmlGenOffset", "AmlGenOffset.py"), @@ -111,7 +111,7 @@ def po= st_build_ex(config, functions): print("post_build_ex Error") sys.exit(1) =20 - common_patch_command =3D [os.path.join(config["PYTHON_HOME"], "python"= ), + common_patch_command =3D [sys.executable, os.path.join(config["MIN_PACKAGE_TOOLS"], "PatchFv", "PatchBinFv.py"), config["TARGET"], @@ -132,7 +132,7 @@ def post= _build_ex(config, functions): print("Patch Error!") sys.exit(1) =20 - common_rebase_command =3D [os.path.join(config["PYTHON_HOME"], "python= "), + common_rebase_command =3D [sys.executable, os.path.join(config["MIN_PACKAGE_TOOLS"], "PatchFv", "RebaseBinFv.py"), config["TARGET"], @@ -161,7 +161,7 @@ def pos= t_build_ex(config, functions): print("Patch Error!") sys.exit(1) =20 - common_patchbfv_command =3D [os.path.join(config["PYTHON_HOME"], "pyth= on"), + common_patchbfv_command =3D [sys.executable, os.path.join(config["MIN_PACKAGE_TOOLS"], "PatchFv", "PatchBfv.py"), os.path.join(config["BUILD_DIR_PATH"], -- 2.34.1 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#111827): https://edk2.groups.io/g/devel/message/111827 Mute This Topic: https://groups.io/mt/102862606/7686176 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-