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 576B078003C for ; Wed, 29 Nov 2023 00:03:25 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=d2hK5sLOZz0om5NlaqWwjWecQXfzv5pajqXQ8H+Zd0A=; 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=1701216203; v=1; b=psursEABAyH+37gdeRA1G486UknjvO0z19lt4zoGLhavcYx60kujSy8tpmImRh5rRpw88uGN AKI28kI6wSBVbPLNK4gPooCwW9KyUpJy20w/6EtTJdcPYv8vnSrVBQUtrDqazu27wtsxTX10E9C yq7+biyX1QrXWvoZPVaDJ6WY= X-Received: by 127.0.0.2 with SMTP id HqrOYY7687511x38tIe76WLy; Tue, 28 Nov 2023 16:03:23 -0800 X-Received: from mgamail.intel.com (mgamail.intel.com [134.134.136.24]) by mx.groups.io with SMTP id smtpd.web11.14931.1701216203271981469 for ; Tue, 28 Nov 2023 16:03:23 -0800 X-IronPort-AV: E=McAfee;i="6600,9927,10908"; a="395875668" X-IronPort-AV: E=Sophos;i="6.04,234,1695711600"; d="scan'208";a="395875668" 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:23 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10908"; a="803104800" X-IronPort-AV: E=Sophos;i="6.04,234,1695711600"; d="scan'208";a="803104800" X-Received: from fmsmsx603.amr.corp.intel.com ([10.18.126.83]) by orsmga001.jf.intel.com with ESMTP/TLS/AES256-GCM-SHA384; 28 Nov 2023 16:03:22 -0800 X-Received: from fmsmsx603.amr.corp.intel.com (10.18.126.83) by fmsmsx603.amr.corp.intel.com (10.18.126.83) 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:21 -0800 X-Received: from fmsedg602.ED.cps.intel.com (10.1.192.136) by fmsmsx603.amr.corp.intel.com (10.18.126.83) 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:21 -0800 X-Received: from NAM12-DM6-obe.outbound.protection.outlook.com (104.47.59.168) by edgegateway.intel.com (192.55.55.71) 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:21 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=IxUoAmxHibzn8Ol4rqQX0BpW/XDZ6z/iOH1PIfH05a2TFhcptJEpZecch7o+ZJihYyIJYTUTjrco6Mwq1Mo0G+bth6+M5+es/BkjiTxamIq4aCXptq4mfKzqYDTHez6P2j9KutlpbGdG5Xdga7gZCACtTdWRUDv0PpouE1kK4K/oc8zEO4QzYZeoCiCoCPX0opat9hbhPUlZOO6YeYheNXu66gA8NKcK4WG0NDZyXEwgJEgdUdrpXSYv/eY+pCypoeo0OmCxpL8nhf4zrxVNLaetd8V6dmVnjI0KYwlYCkI47jDMnLqjCCnzhR91dzWqlHF90gXPaHgPyvNkCHACdw== 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=0ejxZpa5dfXcGkRGfXXEKeszzyXTwj/zlWpgeAm7t8c=; b=DLreNY2IJxS/IO2mdE5gXuyOuhwSscvGkYEPFC9AIPudS5u4wqEkfCqLHgUjVYQQFtDDtiGMWr7g+f/SvvczMdpJTUtlHmSJggN5fqVVW4O8GU7MOHKMqrnjJh8/QWfPq28Asz7NyP40lduPZAHKAcuDu38VW9lsW0D/sXgVk9e6u0MYClWdO0lACItzcWUoaVRkidx3BPD5UuDPQINjnUnRGf4P7jbLjRg295FDBOcBsWMNXvJpC5GG2STGU9dfYdekAU8JLrrnxqeqjg641QqC6NfP8y+QjPwvo25C9wYr9X1+c9XT6uNvbJDWNi0TwUfroWfDml6TmLf87Th30g== 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:15 +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:15 +0000 From: "Nate DeSimone" To: "devel@edk2.groups.io" CC: "Chiu, Chasel" , "Gao, Liming" , "Dong, Eric" Subject: Re: [edk2-devel] [edk2-platforms][PATCH v1] MinPlatformPkg: Remove usage of PYTHON_HOME Thread-Topic: [edk2-devel] [edk2-platforms][PATCH v1] MinPlatformPkg: Remove usage of PYTHON_HOME Thread-Index: AQHaGeoXjhQOeryl+UuvKap1h5oNGbCQeeJQ Date: Wed, 29 Nov 2023 00:03:15 +0000 Message-ID: References: <1798A43853ADB2B7.25909@groups.io> In-Reply-To: <1798A43853ADB2B7.25909@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: 8ddc4337-beb0-4ce1-2905-08dbf06e9610 x-ld-processed: 46c98d88-e344-4ed4-8496-4ed7712e255d,ExtAddr x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam-message-info: TFcfU2kGTtW3zAmhPyrHdyyt4os3DeISI/9+ZbISHj8zk+S+FbezZ+cLvnOZ2ixeuc9l/NH1JBZYyBVTLiycWkCxSgrhxGUSaU7W1/z0JTTpf7LQsaTFpLwbYmtmiV0x3C+oUGrgUGAONXvm6L70ntpXeFLMDW0BWvugIRCBTa7ogQ5IirGuKVqU/Pg0LjeknLgVamHeosRkGuJasctvVULRFd+ALNAMBhVojZR3aJKGltmLX9JL5AmV93CfJRTSMMCqQ3jYZ3yUgE9136+8hQuJM7Xm6umKvFJmGr56pXqvotUrVSJ1ZVeoVKdC3MARUqK0/E2VVZdXORU0l+C+WZpNJkRTcZY1l64yrw/PbKwdokHymqNQNmXo6dOQ8/2YQnQtSVIIuO4rCX1L22k43KrShPSjjZvQJYt8e/WK/OeG6plux4zWJ+g5z3/3Kgyn1X3d4YNYajsHznGE708obMgAM5emoaDfCTuV5oPXAXwuwhjwNOomYGQlLcFYFc3oekuDuYPRCT5le1kdftxOcz7qB0C3P3uvpFLN/ucrvjqQRiw19w3g5Y3IcQopbRZLC94cNbCYYG7c9rU67mCPEHHM4qP/AB9o3KWtJ0YVavmPeOIisq9V5zvNCmyJpGufJ8z43GXGN5Hoit19oVBdfw== x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?a4tQFrrWlqkJ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H7HYV3az+nP48YHK?= =?us-ascii?Q?NTEIdDNanYeZC3tnE2vt9xADWGeFEHwxLqgnTaXZoKEvuzxmJTfeDIcQA12m?= =?us-ascii?Q?a/UAXFvK+SYY1TYKn1u1AS2E9cwS2Tdfj+t9LZgY776IjFrRbRCZw3W6sHnm?= =?us-ascii?Q?cheqJbtW9Zuhvc4Vk0MBZXF8xiIbMB5PH3+C9eRtgPHEw+SZAYDNZJImW17E?= =?us-ascii?Q?4Shps3BJFl4KJZsE07r0gZPsrF+HcMvu47U/6lyf/xdTxjn7VBaEeNC/p39C?= =?us-ascii?Q?+KJgLzHIPMtamEvITLLviBDSlzxrN0rfZfVTxSDHcf6tAGv5EdMcTzn7atuR?= =?us-ascii?Q?B0U84fdFjjGMVl+F5OdHwERbnIximlpatQIH5ueKBZFl/F78rBxaaSuiTQHg?= =?us-ascii?Q?bOXTlrLldG/kkVfAZyyi8ylkDBIZns9FxtHLjCTYdNOHjGuiN/XZbDTbBIkS?= =?us-ascii?Q?BTd7EwjdJhrkwn3WKB21jImQOxMLFupR1JYAvWGR7zkPTrrk4cYDzQ4lkoLG?= =?us-ascii?Q?NH3QjKPaLhtubtk2TSz+H1BxW7bW4Py5BlBnNe8sjySGief91LOW31NMOLmU?= =?us-ascii?Q?mC+J4mF2sa/oq+ch94kLZkubF4TnprFX+RWd+Tv72zxwrThofIL3nGNDAgDl?= =?us-ascii?Q?6KZt4LI573om48KG5g9f1Zbnif5TVVoUMRzd20/uMNBgqdxc3qSz7a4oSjYZ?= =?us-ascii?Q?BWWeL4u36LPjmTNFu5UfQaWLzik9UTOGdgqW0mf37N183cnc3m2nViTTsfUR?= =?us-ascii?Q?2w=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: 8ddc4337-beb0-4ce1-2905-08dbf06e9610 X-MS-Exchange-CrossTenant-originalarrivaltime: 29 Nov 2023 00:03:15.7714 (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: DJSbjM3ZqJNgmCbN2ia+v0Z6FNIM4voMDwkNvAdWneM4Z0GQYh8vf5XSmL8XDas1q7m+ujSOOIuAtSPPnnk/9rhrVemQzesh9SfhT2l9AMw= 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: 4apwjazhIJe5CMaQE6ztOIIVx7686176AA= 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=psursEAB; arc=reject ("signature check failed: fail, {[1] = sig:microsoft.com:reject}"); 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 Pushed as 073fbeb -----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 ; Gao, Liming ; Dong, Eric Subject: [edk2-devel] [edk2-platforms][PATCH v1] MinPlatformPkg: Remove usa= ge of PYTHON_HOME Removes usage PYTHON_HOME from RebaseFspBinBaseAddress.py Cc: Chasel Chiu Cc: Liming Gao Cc: Eric Dong Signed-off-by: Nate DeSimone --- .../MinPlatformPkg/Tools/Fsp/RebaseFspBinBaseAddress.py | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/Platform/Intel/MinPlatformPkg/Tools/Fsp/RebaseFspBinBaseAddres= s.py b/Platform/Intel/MinPlatformPkg/Tools/Fsp/RebaseFspBinBaseAddress.py index b7e4bcf5f9..32db9eb1c4 100644 --- a/Platform/Intel/MinPlatformPkg/Tools/Fsp/RebaseFspBinBaseAddress.py +++ b/Platform/Intel/MinPlatformPkg/Tools/Fsp/RebaseFspBinBaseAddress.py @@ -1,6 +1,6 @@ ## @ RebaseFspBinBaseAddress.py # -# Copyright (c) 2019 - 2021, Intel Corporation. All rights reserved.
+# Copyright (c) 2019 - 2023, Intel Corporation. All rights=20 +reserved.
# SPDX-License-Identifier: BSD-2-Clause-Patent # =20 @@ -65,11 +65,7 @@ file.close() # Get FSP-M Size, in order to calculate the FSP-T Base. Used SplitFspBin.p= y script # to dump the header, and get the ImageSize in FSP-M section # -= pythontool =3D 'python' -if 'PYTHON_HOME' in os.environ: - pythontool =3D os.environ['PYTHON_HOME'] + os.sep + 'python' -else: - pythontool =3D sys.executable +pythontool =3D sys.executable Process =3D subprocess.Popen([pythontool, splitFspBinPath, "info","-f",fsp= BinFilePath], stdout=3Dsubprocess.PIPE) Output =3D Process.communicate()[0= ] FsptInfo =3D Output.rsplit(b"FSP_M", 1); -- 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 (#111828): https://edk2.groups.io/g/devel/message/111828 Mute This Topic: https://groups.io/mt/102667304/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-