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 E3D60940FFF for ; Tue, 28 Nov 2023 03:20:24 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=90o2Y/X05bWV5PatrV/OfG53ZDGQYlXbIKSQEr7bkuA=; c=relaxed/simple; d=groups.io; h=ARC-Seal:ARC-Message-Signature:ARC-Authentication-Results:From:To: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=1701141623; v=1; b=EYfgKfMgd//6xfuj0cfFfP4i0IGqVhuoS9Tsr32UlI6rVkcq5Ct5AcRft/ZqwbEvFdooGnTB AU7v/SvklPpOj+nkVDV1naz6bLJ6Exir5lfXSoJ5Q3EvCyzQlbwbqw6QDmJMlR4A1JMeAQmhZpe hb7QY2M57SCQCBJ6DVaDi1SQ= X-Received: by 127.0.0.2 with SMTP id hAMCYY7687511xpg2Zahu2c6; Mon, 27 Nov 2023 19:20:23 -0800 X-Received: from mgamail.intel.com (mgamail.intel.com [192.55.52.43]) by mx.groups.io with SMTP id smtpd.web10.24408.1701141623118777454 for ; Mon, 27 Nov 2023 19:20:23 -0800 X-IronPort-AV: E=McAfee;i="6600,9927,10907"; a="479036800" X-IronPort-AV: E=Sophos;i="6.04,232,1695711600"; d="scan'208";a="479036800" X-Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 27 Nov 2023 19:20:16 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10907"; a="797451841" X-IronPort-AV: E=Sophos;i="6.04,232,1695711600"; d="scan'208";a="797451841" X-Received: from orsmsx601.amr.corp.intel.com ([10.22.229.14]) by orsmga008.jf.intel.com with ESMTP/TLS/AES256-GCM-SHA384; 27 Nov 2023 19:20:16 -0800 X-Received: from orsmsx611.amr.corp.intel.com (10.22.229.24) by ORSMSX601.amr.corp.intel.com (10.22.229.14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.34; Mon, 27 Nov 2023 19:20:16 -0800 X-Received: from orsmsx601.amr.corp.intel.com (10.22.229.14) by ORSMSX611.amr.corp.intel.com (10.22.229.24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.34; Mon, 27 Nov 2023 19:20:15 -0800 X-Received: from ORSEDG602.ED.cps.intel.com (10.7.248.7) by orsmsx601.amr.corp.intel.com (10.22.229.14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.34 via Frontend Transport; Mon, 27 Nov 2023 19:20:15 -0800 X-Received: from NAM10-BN7-obe.outbound.protection.outlook.com (104.47.70.100) by edgegateway.intel.com (134.134.137.103) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.34; Mon, 27 Nov 2023 19:20:14 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=euAEGrcfFGCxh53lotrYIvoojuU0tP2X8XbmpPm0dTP485XEcMz6EmUzMlksScROxBCymZ+d5nEeCpR2fdR8K2YauP/kx1C/TqvqIihvDw9XKhkRoAoGt6OBxV4cEOanFcfmA5O10ZQ4OdSQuoTAT7h4iT9U5WnPVhoTXY3DDMfG3VkLhOmWsiqwc2HLBue63guv5UYW2s7dNdwrlHzxxzc2TkLcccunL++aUzcFnE54hRg9vQXS76vy1JxihaDNtj39pk3NQ/4uxZpvPihTmVpwVZTIbRlIJ8XbDJP79OuguL5DaUXBuNYcWBeTJMT3WF1PYSC3jXtnsFonYhTm0w== 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=fV8EOH/9XO0inI9ymX3N+OSHTpERj2vlbAY2B7TOZFU=; b=QPBJruSFE1WUl9k5MgIfzfm6fyMeJkSrDIJs54Q7lnEQqOpDyZMTwaUsAnJoaHkYddDvjX3D+sRtDZ11zeBLAR4/+Z2d0wiWZ9ufgL8XrkoTljlVmH5zbNXOSDabCi161enODn7c2c4C+tEi/+JvW9JT/ugUFSZlSF6Un9dh3mwJvKZVNTG/1Nqz8QZKcbtRg8cq9ORqx4sK2ceRwsbKfoH8GY0sH6RdPiiorJ+K4Z5JeUBo7jpyBzERuRJfaWTegFAa9JgGW6b1fG5qhh4svo1Rrd23L+DPG6/sMbHFI+aKnSbwMU9fV37Z0qUD1Kf3dP/x2j5UL1plXgjTHelFkg== 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 BN9PR11MB5483.namprd11.prod.outlook.com (2603:10b6:408:104::10) by IA0PR11MB7742.namprd11.prod.outlook.com (2603:10b6:208:403::6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7025.27; Tue, 28 Nov 2023 03:20:12 +0000 X-Received: from BN9PR11MB5483.namprd11.prod.outlook.com ([fe80::6da1:a4b7:4771:14e1]) by BN9PR11MB5483.namprd11.prod.outlook.com ([fe80::6da1:a4b7:4771:14e1%5]) with mapi id 15.20.7025.022; Tue, 28 Nov 2023 03:20:12 +0000 From: "Chiu, Chasel" To: "Desimone, Nathaniel L" , "devel@edk2.groups.io" Subject: Re: [edk2-devel] [edk2-platforms][PATCH v1] PurleyOpenBoardPkg: Replace Python Interpreter Name Thread-Topic: [edk2-platforms][PATCH v1] PurleyOpenBoardPkg: Replace Python Interpreter Name Thread-Index: AQHaGemk3EnRk/jl70a4FMKXNr+5+LCPH71Q Date: Tue, 28 Nov 2023 03:20:12 +0000 Message-ID: References: <20231118063629.1397-1-nathaniel.l.desimone@intel.com> <20231118063629.1397-2-nathaniel.l.desimone@intel.com> In-Reply-To: <20231118063629.1397-2-nathaniel.l.desimone@intel.com> Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-publictraffictype: Email x-ms-traffictypediagnostic: BN9PR11MB5483:EE_|IA0PR11MB7742:EE_ x-ms-office365-filtering-correlation-id: 2c49eed4-ecbc-4164-e670-08dbefc0eeff x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam-message-info: uUJJ03kPRGjNEF0HE4Dph9shu4V8g5YxsYYXda9NE7qnJSsRjj02syvENZTn0E7YnFC4pasVcZqut1Q2/6cJZE9P2g4L7eBNVDg+TcN6/rPxJzheobiv7CbX5/II+C13ZVFRvU2QPcEQnSHj271nvhKlLlfbEQQyZPjiI+K9py90nxE638uFhGwReAgOIbwHoo7puvOMnycAaBb7+VXDVNovpUd5/ZXbzUQYEeRQmUZwHxEfFrfHo0S9AWtveUyh4lFE6PfF+rQhyivNG1OoSJLLu1dV1s37ZhREo5nG7C8k0XH5CSK+RZ7sMJRdAa+UCVIbPvCu5xHpkdK/sNXjqIzjax2qwr9k5/0vmzG/pjlG6OcbDQ90h9AIhAWDatLeG6PBs4Q8Wkwtxt88SmBPqjxfWzJPacs6LWaKCHW0d1NvqfT/3VPA0Hy7NuxmV7ABiLf8KKR8D/TOocvasTcLXqOns2BySqrNiBFmt+8ee3Jw89tWklBPt975q6/GQIOa9HBhkfUnnxnjrp8xDcTQQdzkPubTedjoRm6kGYQGWp9zHiSs4Frq9RfwhqHMyg4nUkr2reVSZKpXLF91ifetrbO4xeIdcNQdoLUsF8mxJ3/+/OUiM+JvMOX6Ly4IOVbh x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?FEvHT1t9fogEHuYGXa4vUtPfiBLv5vW4TktVF5WtQ5SEJH2Ho7oGmv1V7izd?= =?us-ascii?Q?WxEj00f0nAd6cxQZNx4xNstRsPUO5FFoc6+klip+TNl315W65T4mqzJhCZrY?= =?us-ascii?Q?Mk9RGOpRYU4iMLGGqB0EQIjnSV6pXLBmnuzshAqmhLUKx7016XszDCt08q7n?= =?us-ascii?Q?+tT03DvZD+FeKSx5GYfGmSFY7vB3rrU/nPg1XJCS9xbAbeXKjRDWAZrvkZeL?= =?us-ascii?Q?9cMHzvQrVngITABatFwPOfEzxYnjpS6jdI7XL/qKqd2W2dnoyFa99yNMev8T?= =?us-ascii?Q?7Kb6ltwit0FlcB1U8h2ATG43Vp3NevkyngylmcoBoHo7gm+jimQ90h2ZNiI9?= =?us-ascii?Q?6J3OWqz1d9CQeplDmtXugXJwWsT5Rh0Ylxw13a/MrGNGBvfvPs4LWM3k8RyD?= =?us-ascii?Q?k8qzK5zxl30rQWaTECDW1+Q/dxBEc/aH4/3vpg6ogFtE+FLbg56F6a5wFNAc?= =?us-ascii?Q?KAHWOFtEWIPfmjZjuE8jhwI3WU6TJt+xtCZI6qATnFsbfb0pYSdxpvcNpdMM?= =?us-ascii?Q?gil97toyuYisXjzyR8IBhuD165m2S+yOuLJumY2Zg3Ae6ZTG/7F6PMh87uCU?= =?us-ascii?Q?K9cfFivjHF4sHIR7o9xklevXPaDDSxCsFx57drbjLJIEi4gtIM6dPC22sNqg?= =?us-ascii?Q?QnkmPOymSvElwpMfIbFIbG/sVlYJM2P7w1+h3xgjm6Ukk/XT29UlpnM4HFCw?= =?us-ascii?Q?Q5kNq/sjjaRYHutKkt1rnQepYG4fmfh7VuWER13l4RO2U8XRK96DB5Kbc4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-CrossTenant-AuthSource: BN9PR11MB5483.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 2c49eed4-ecbc-4164-e670-08dbefc0eeff X-MS-Exchange-CrossTenant-originalarrivaltime: 28 Nov 2023 03:20:12.5310 (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: gKA1bX3940lh7BreZrv+PQSNsmtnfPKvZsVdkQ2dBBkMO/pnx+/QgSxsdkcDXlKaAsMTeiggID9qDVHYhPWFmg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: IA0PR11MB7742 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,chasel.chiu@intel.com List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: X-Gm-Message-State: 7TlMTypg1Uyn5JBhh5QakZCmx7686176AA= 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=EYfgKfMg; 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 Reviewed-by: Chasel Chiu Thanks, Chasel > -----Original Message----- > From: Desimone, Nathaniel L > Sent: Friday, November 17, 2023 10:36 PM > To: devel@edk2.groups.io > Cc: Chiu, Chasel > Subject: [edk2-platforms][PATCH v1] PurleyOpenBoardPkg: Replace Python > Interpreter Name >=20 > Removes the assumption that the python interpreter will have the name pyt= hon. >=20 > 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(-) >=20 > diff --git a/Platform/Intel/PurleyOpenBoardPkg/BoardMtOlympus/build_board= .py > 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 > +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 > post_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/PurleyOpenBoardPkg/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 > +reserved.
> # Copyright (c) 2021, American Megatrends International LLC.
# SPDX= - > License-Identifier: BSD-2-Clause-Patent # @@ -49,7 +49,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"), @@ -111,7 +111,7 @@ def > post_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 > post_build_ex(config, functions): > print("Patch Error!") > sys.exit(1) >=20 > - common_patchbfv_command =3D [os.path.join(config["PYTHON_HOME"], > "python"), > + 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 (#111785): https://edk2.groups.io/g/devel/message/111785 Mute This Topic: https://groups.io/mt/102667305/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-