From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by mx.groups.io with SMTP id smtpd.web12.5708.1656064391846631330 for ; Fri, 24 Jun 2022 02:53:12 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="unable to parse pub key" header.i=@intel.com header.s=intel header.b=ZpmQaFUx; spf=pass (domain: intel.com, ip: 134.134.136.100, mailfrom: kasimx.liu@intel.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1656064391; x=1687600391; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=3LCaHwlavjqRasCqvHih2fGIYbtxcNqb3Ag6DcaNDdY=; b=ZpmQaFUx92TNC/Jgx0BXBVAjbHkQFT2Jg3FMb9lzqY4zB+v6zDlHDxW0 lrE2pV4+hiM20wMHINxJzkdA0Ily8IoonPQJAt6ERpbHTW6a5XTS0ASF8 VCg652e7fHY6fQjUJCKIATJobwgpUVQeXSWQgaoqlyh2N7E0+DujsQAlA sMFUaVHjPeV7KtBTOb58NGPezuo+RlIBaqj5xzqGU+vDshHzVDWQ52srC ZJudOdlEJKKCetXox/pPTl98qo4vdlIq2sSWFmU5xyxcpfw0MXxB4W10I GdDfoYVCdhkBVi3mI+bBpoOnYRsQ59otxAu4NyxS0Uu51pcYYmQv6kQqz g==; X-IronPort-AV: E=McAfee;i="6400,9594,10387"; a="344962306" X-IronPort-AV: E=Sophos;i="5.92,218,1650956400"; d="scan'208";a="344962306" Received: from orsmga007.jf.intel.com ([10.7.209.58]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 24 Jun 2022 02:53:11 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.92,218,1650956400"; d="scan'208";a="586524686" Received: from orsmsx604.amr.corp.intel.com ([10.22.229.17]) by orsmga007.jf.intel.com with ESMTP; 24 Jun 2022 02:53:10 -0700 Received: from orsmsx609.amr.corp.intel.com (10.22.229.22) by ORSMSX604.amr.corp.intel.com (10.22.229.17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.27; Fri, 24 Jun 2022 02:53:10 -0700 Received: from orsmsx603.amr.corp.intel.com (10.22.229.16) by ORSMSX609.amr.corp.intel.com (10.22.229.22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.27; Fri, 24 Jun 2022 02:53:10 -0700 Received: from ORSEDG601.ED.cps.intel.com (10.7.248.6) 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.2308.27 via Frontend Transport; Fri, 24 Jun 2022 02:53:10 -0700 Received: from NAM04-MW2-obe.outbound.protection.outlook.com (104.47.73.168) 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.2308.27; Fri, 24 Jun 2022 02:53:10 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=T8pAyGg/FutKve0273qti+AyPkgk82xviE/z9Pz7V+UDYWOu9dKl41d/RKn+C1MPnVTnx/Jm/a/TG6OURX2hJOT2qwk3Xo8zLXaRE45+uIQWUTbR8s0SXbxspxc7KRn6cmsr9BosHiEFCWgg+1H31k0R3DniBIuEPiMUTep8SHNtEkSzz5KKchdTnU7+kCl2ZwL4bFFI2wYG9Gw7p0rqBse+oAa7d3Wfusibe7NaRiFauP7xmAnVI590wFZgxK8W/e130EVyLbalZyGKxi8azX8FPLT9U8E+b8dAchkKn1lEeWN0gE+AGzCkilrPtzNV7dBPMR7RoggLcfF506sqmA== 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=b34vjnoU/F1CKHDIXuCEHdfIWuPmh6v2IgV49muB+xA=; b=mW4bx1S+7Yey1JImh01Gz6WyivTtQZZiDJgI3uFlZF88A3OjFbMxxZSnn6bZsr/CJoTqqJP51HYGoyWMBmGNEJKb6r81hH4p5C0jKMRR5jn6cDmTeqbr4gij98ZMADUIPeVo0L4qzYqJ+Rzcto/XzH3vOqvY1FzG8zhjBtmK0wXskh1N/Xtjt/ofwKXs+kCz83bZd8PCUYEmbT2DjI5gPel/TpOdfAWxFxEZCvC6z4mRPWMMQ0Otlly2wD3CYeudr5xyUNcdHwTbjWOx8/hmh/Y5FL4fPatTXqA4g0lWPMVDgkF3hVFeVEF7DBMrXfg6mzfcgsqUwCSs/3aFpCEJ4g== 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 Received: from DM6PR11MB4027.namprd11.prod.outlook.com (2603:10b6:5:199::11) by MWHPR11MB1294.namprd11.prod.outlook.com (2603:10b6:300:2a::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5353.21; Fri, 24 Jun 2022 09:53:03 +0000 Received: from DM6PR11MB4027.namprd11.prod.outlook.com ([fe80::24f2:3b4d:1e84:b6a0]) by DM6PR11MB4027.namprd11.prod.outlook.com ([fe80::24f2:3b4d:1e84:b6a0%5]) with mapi id 15.20.5353.023; Fri, 24 Jun 2022 09:53:02 +0000 From: "Liu, KasimX" To: "Ni, Ray" , "devel@edk2.groups.io" CC: "Dong, Guo" , "Lu, James" , "Guo, Gua" Subject: Re: [PATCH v2] UefiPayloadPkg: Backward support with python 3.6 Thread-Topic: [PATCH v2] UefiPayloadPkg: Backward support with python 3.6 Thread-Index: AQHYh31DIdCLsu7OV0CKMGT8ZXmvDq1d+kKAgABQoQCAAAJhUA== Date: Fri, 24 Jun 2022 09:53:02 +0000 Message-ID: References: <20220624034749.2978-1-kasimx.liu@intel.com> In-Reply-To: Accept-Language: zh-TW, en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 0464d368-9776-4b13-6c5d-08da55c7545e x-ms-traffictypediagnostic: MWHPR11MB1294:EE_ x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: NkV3DBkZhq5k3cSDLdnkGBSDSFFCUS3MpDx9rJw8d6rmBcNQPniWOPFRei8pnUZYWX0zRbMqChhj6xX8wyiF/sUW4AXKqca0zord9g2GInHhpll12XIaybFoM4QoI/I6Ws0IHKFg9FrZkzJoaJePD3GslxQmTB7/tbDMi8MSLrmajimxCX3QUiHAPxSIz9ow3Uz0TJelPRFeqmPRWeoiUacQedDL2SS427R8stxyX2QqjpOZWqbU/viNcQvJdDKIa9HnJ08yhjBBwrox6IaMi9Gc8RAjaCrrTMXJRJgFYQjofZNCA5Q2Z5/XIrK4qvTIcLjHbuP1d2P7hEiTfd9C9xzcrYtG0b2Tk2QOJqNHy9NeeYj/Kn2175ZJlQLSKJjzdPgaA1QR8uelS8wx2vSbBNlYWNWwgwTQ/9ukY2cyOSIhnTaw30995HERdXQtAeRrGFAXZNQeD5/sw38Qk88a+7baYqBCBnXg140YNJBl/knZ7EGetPBFMPTjtCXW/1fXZUAvfHQqxoNS3D1jPCKppAUZcyWrSYLlEbcqZZte7B+ozbWWMCrtGJ9Q440/xMHOeY43J6cC4FxZmSlcULB55i8cT4njyBWLRwPcvXV+fLiD0qQuKNl9sAZwmdSdr8tGhlgegpojuYBB7W0JNPfYelEsK71Yau4SejzZTpT1/zXmdIgh9H1MVWFkqTf6/Dj883DEV/HEzqxe4BiOTTHdT4lqbudHze9apsg1Twpbijr7AwzKYnbTY1TXipiVAS1lKSvA4jQyFBG9UCjD4nD8+G/wGARGDcyj9ykrm+rIurCWOem9Rh5SZEpJq3R+c93dbwg6/va9xAwPoX4FHWUPfEjYvD+joHmGHXO0t0ie4LKParQhjrwvlGCV2ztWwv2j x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DM6PR11MB4027.namprd11.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230016)(366004)(376002)(346002)(396003)(39860400002)(136003)(84040400005)(83380400001)(52536014)(8676002)(26005)(38100700002)(122000001)(86362001)(9686003)(316002)(71200400001)(54906003)(2906002)(107886003)(7696005)(66556008)(110136005)(66476007)(186003)(55016003)(33656002)(5660300002)(38070700005)(82960400001)(66946007)(76116006)(966005)(53546011)(66446008)(41300700001)(478600001)(6506007)(64756008)(8936002)(4326008);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?Cy1Su2iG4s67lf1RTwoOvybG2JwFfO4QeVSWR+GI/at83QrVzkufIH+fbRuQ?= =?us-ascii?Q?qKOM+BavezLhhh5HbLyhTG0ShIajIEI80QOlAu7b5CS5mq9aW7Sou1G31zSp?= =?us-ascii?Q?7CTqCwRALf/oQTfV9pq3ysRW0bQ2Kgmw9uyjv2GgLEtLNAeVw0Gr+UMcZMDo?= =?us-ascii?Q?Ic33rBxCum9R3X8S+iIYOkMAPjvC2BotuYQz5p+kERzAiSRbb68un+XNgA1b?= =?us-ascii?Q?n4cMhSBeZjgapBw06RZ7BOVhHlRoOnu8E9IxT/Q4kPeMmo3VbkQoest0g6V7?= =?us-ascii?Q?JbKE6oo2wt+z2S5Xvc7Oj2bFis1hl1L1GmVvzRVgwxS6msYsZeca9wUDlDCy?= =?us-ascii?Q?d9MZo8zYLNbScYtpaRPq19EYEw8Ys5NbIsbQvzlbbiwaqkj0xm51niLnMWBW?= =?us-ascii?Q?q+TrpsEZGi3ZbzASWpzt7gqF2GXAd/Eyt5Js4wjebR190ChJ5J0PZ1JuW2kR?= =?us-ascii?Q?h5Adqi0PIwfXbHw5WiNZNHs/ege0PsRHJKrxgOnyWk8tUseHUKCWMIcSkOfn?= =?us-ascii?Q?IXNVOvMuvLOs5akx9m5S1F1gdQvYCJzNvwv3OCmMhRDHlniVIItnCcaGpzTs?= =?us-ascii?Q?ZHzPKnKDNxXzFDap0hHGhWnKaonqdWc4ybnyXETGVUbtQ/Oo8uB2LU//MFlU?= =?us-ascii?Q?o0FtZJQtQXya+eFpKlHaosIBpwEsZj6bGa4dXG40o1GAKgzzN3uwAu9mvsLZ?= =?us-ascii?Q?i+UJEkfz/u49k1I0Cps8Z9vH/2r83WPeX1DZ1MGBscH9VYh+ZtNfL0RHUWGJ?= =?us-ascii?Q?Jqay9r3K+K1GxVd8AYk4smCtgw34QSH0TpxxxMm7QWd9rat/MtDmaK6xtOS7?= =?us-ascii?Q?KdHubsGj+KW7IIaks0Gljr9fn2C71022Crlp2nrvVgRoBNWzy7G2EpRABqXw?= =?us-ascii?Q?Wxf/E9NYXfXUgi76nDl94VDuNAKMMBuNJSNN+B/SISb0S86vyvkiEqnM4RwF?= =?us-ascii?Q?hWMgxGjsC5Rq2uHYlap4vSq0NIKUizmSXl8Mf1FAx17mZVlqJ2HqqaHxa1jD?= =?us-ascii?Q?SxFKkyTTSNh8wOVARdl7qb52JcVKVWzBaeR5hV5h3U5x1DWolzJSGZdD3A2P?= =?us-ascii?Q?W7/9tgtFBg3W640V1HD6Xe+l2r8Xrji5lnsYBqtDe4UQY8GVXHyjlN5Pid5l?= =?us-ascii?Q?ULClJb/H3IYd77X2XIAY8WuwKSA32d0l39tz5bqUCzptDpMzv7xnuSVM44JE?= =?us-ascii?Q?cJJuzsLXZGcsrFLLiffNtre8NMqW9rFzbrbiHzLR1zfmsB/QmqHGRObGM1Xk?= =?us-ascii?Q?JfPCkc6uhABJIRrP73mNDQNvTlz0JbTpjEICVA06ocYzJtWDiXYMwfDVBosD?= =?us-ascii?Q?6BtpAOGO+PylIVyFyefKAdOsNMpCvKz2bJOOBiw4sHFQSh6K1VvK/H5v0aDf?= =?us-ascii?Q?r9jsuTPOYLbERgB303EJvHYVAtCOKkoRgSSPfE+S0xue70cUTUfPZnx+79FU?= =?us-ascii?Q?alWkPQQ1wZVIfcm0uOphfbEv+Fu0GaeY6Yqfe/opNUOc6GJj+d5rVxh2nuJu?= =?us-ascii?Q?2Gp9Qoa5dz+Ph8DzyfJqaEbkSzU0PQCjqXvuVA2SOxl9drYdUuwIiQiaStz/?= =?us-ascii?Q?sA5xZ+LRcRyLc6EOdAZ6el2RAy2Jv6xfI8AEVwFp?= MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: DM6PR11MB4027.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 0464d368-9776-4b13-6c5d-08da55c7545e X-MS-Exchange-CrossTenant-originalarrivaltime: 24 Jun 2022 09:53:02.8361 (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: OQ/wAtWUuWfkXurF6+xQMiHdfUHA0+4Avh9lHdAnTKUSZgBBXPojfEDaKYUW1MxOpR0q6JHIKs6CdNZ0L/JelA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MWHPR11MB1294 Return-Path: kasimx.liu@intel.com X-OriginatorOrg: intel.com Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable @Ni, Ray Thanks for the reply and reviewed-by. I've created the PR, could you help me add push label when you're available= . I think we're better to check in the solution. https://github.com/tianocore/edk2/pull/3008=20 Thanks Kasim -----Original Message----- From: Ni, Ray =20 Sent: Friday, June 24, 2022 5:30 PM To: Liu, KasimX ; devel@edk2.groups.io Cc: Dong, Guo ; Lu, James ; Guo, Gu= a Subject: RE: [PATCH v2] UefiPayloadPkg: Backward support with python 3.6 Offline discussed with patch owner and got to know that it's a change to en= able UefiPayloadPkg build in Ubuntu16 build servers. I am ok with this patch. Reviewed-by: Ray Ni > -----Original Message----- > From: Ni, Ray > Sent: Friday, June 24, 2022 12:41 PM > To: Liu, KasimX ; devel@edk2.groups.io > Cc: Dong, Guo ; Lu, James ;=20 > Guo, Gua > Subject: RE: [PATCH v2] UefiPayloadPkg: Backward support with python=20 > 3.6 >=20 > Why use PY 3.6? > Even PY 3.8 is about to be deprecated by Python community. >=20 > > -----Original Message----- > > From: Liu, KasimX > > Sent: Friday, June 24, 2022 11:48 AM > > To: devel@edk2.groups.io > > Cc: Liu, KasimX ; Dong, Guo=20 > > ; Ni, Ray ; Lu, James=20 > > ; Guo, Gua > > Subject: [PATCH v2] UefiPayloadPkg: Backward support with python 3.6 > > > > From: KasimX Liu > > > > REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3D3960 > > > > Currently, UniversalPayloadBuild.py don't have support python3.6, we=20 > > use python3.6 will encounter f"" failure use the change to fix it to=20 > > support python3.6/3.7/3.8. > > > > Cc: Guo Dong > > Cc: Ray Ni > > Cc: James Lu > > Reviewed-by: Gua Guo > > Signed-off-by: KasimX Liu > > --- > > UefiPayloadPkg/UniversalPayloadBuild.py | 33 +++++++++++++++----- > > 1 file changed, 25 insertions(+), 8 deletions(-) > > > > diff --git a/UefiPayloadPkg/UniversalPayloadBuild.py=20 > > b/UefiPayloadPkg/UniversalPayloadBuild.py > > index c71526e0a6..ab4c977ba5 100644 > > --- a/UefiPayloadPkg/UniversalPayloadBuild.py > > +++ b/UefiPayloadPkg/UniversalPayloadBuild.py > > @@ -59,15 +59,15 @@ def BuildUniversalPayload(Args, MacroList): > > if Args.Arch =3D=3D 'X64': > > > > BuildArch =3D "X64" > > > > ObjCopyFlag =3D "elf64-x86-64" > > > > - EntryOutputDir =3D os.path.join(BuildDir, f"{BuildTarget}_{Elf= ToolChain}", > > os.path.normpath("X64/UefiPayloadPkg/UefiPayloadEntry/UniversalPaylo > > adEntry/DEBUG/UniversalPayloadEntry.dll")) > > > > + EntryOutputDir =3D os.path.join(BuildDir, "{}_{}".format=20 > > + (BuildTarget, ElfToolChain), > > os.path.normpath("X64/UefiPayloadPkg/UefiPayloadEntry/UniversalPaylo > > adEntry/DEBUG/UniversalPayloadEntry.dll")) > > > > else: > > > > BuildArch =3D "IA32 -a X64" > > > > ObjCopyFlag =3D "elf32-i386" > > > > - EntryOutputDir =3D os.path.join(BuildDir, f"{BuildTarget}_{Elf= ToolChain}", > > os.path.normpath("IA32/UefiPayloadPkg/UefiPayloadEntry/UniversalPayl > > oadEntry/DEBUG/UniversalPayloadEntry.dll")) > > > > + EntryOutputDir =3D os.path.join(BuildDir, "{}_{}".format=20 > > + (BuildTarget, ElfToolChain), > > os.path.normpath("IA32/UefiPayloadPkg/UefiPayloadEntry/UniversalPayl > > oadEntry/DEBUG/UniversalPayloadEntry.dll")) > > > > > > > > EntryModuleInf =3D=20 > > os.path.normpath("UefiPayloadPkg/UefiPayloadEntry/UniversalPayloadEn > > try.inf") > > > > DscPath =3D os.path.normpath("UefiPayloadPkg/UefiPayloadPkg.dsc") > > > > - FvOutputDir =3D os.path.join(BuildDir, f"{BuildTarget}_{ToolChain}= ", os.path.normpath("FV/DXEFV.Fv")) > > > > + FvOutputDir =3D os.path.join(BuildDir, "{}_{}".format=20 > > + (BuildTarget, ToolChain), os.path.normpath("FV/DXEFV.Fv")) > > > > PayloadReportPath =3D os.path.join(BuildDir,=20 > > "UefiUniversalPayload.txt") > > > > ModuleReportPath =3D os.path.join(BuildDir,=20 > > "UefiUniversalPayloadEntry.txt") > > > > UpldInfoFile =3D os.path.join(BuildDir,=20 > > "UniversalPayloadInfo.bin") > > > > @@ -94,14 +94,14 @@ def BuildUniversalPayload(Args, MacroList): > > # > > > > # Building DXE core and DXE drivers as DXEFV. > > > > # > > > > - BuildPayload =3D f"build -p {DscPath} -b {BuildTarget} -a X64 -t {= ToolChain} -y {PayloadReportPath} {Quiet}" > > > > + BuildPayload =3D "build -p {} -b {} -a X64 -t {} -y {} {}".format= =20 > > + (DscPath, BuildTarget, ToolChain, PayloadReportPath, > Quiet) > > > > BuildPayload +=3D Pcds > > > > BuildPayload +=3D Defines > > > > RunCommand(BuildPayload) > > > > # > > > > # Building Universal Payload entry. > > > > # > > > > - BuildModule =3D f"build -p {DscPath} -b {BuildTarget} -a {BuildArc= h} -m {EntryModuleInf} -t {ElfToolChain} -y > > {ModuleReportPath} {Quiet}" > > > > + BuildModule =3D "build -p {} -b {} -a {} -m {} -t {} -y {}=20 > > + {}".format (DscPath, BuildTarget, BuildArch, EntryModuleInf, > > ElfToolChain, ModuleReportPath, Quiet) > > > > BuildModule +=3D Pcds > > > > BuildModule +=3D Defines > > > > RunCommand(BuildModule) > > > > @@ -118,9 +118,26 @@ def BuildUniversalPayload(Args, MacroList): > > # > > > > # Copy the DXEFV as a section in elf format Universal Payload entr= y. > > > > # > > > > - remove_section =3D f'"{LlvmObjcopyPath}" -I {ObjCopyFlag} -O {ObjC= opyFlag} --remove-section .upld_info --remove- > > section .upld.uefi_fv {EntryOutputDir}' > > > > - add_section =3D f'"{LlvmObjcopyPath}" -I {ObjCopyFlag} -O {ObjC= opyFlag} --add-section .upld_info=3D{UpldInfoFile} -- > add- > > section .upld.uefi_fv=3D{FvOutputDir} {EntryOutputDir}' > > > > - set_section =3D f'"{LlvmObjcopyPath}" -I {ObjCopyFlag} -O {ObjC= opyFlag} --set-section-alignment .upld.upld_info=3D16 > -- > > set-section-alignment .upld.uefi_fv=3D16 {EntryOutputDir}' > > > > + remove_section =3D '"{}" -I {} -O {} --remove-section .upld_info=20 > > + --remove-section .upld.uefi_fv {}'.format ( > > > > + LlvmObjcopyPath, > > > > + ObjCopyFlag, > > > > + ObjCopyFlag, > > > > + EntryOutputDir > > > > + ) > > > > + add_section =3D '"{}" -I {} -O {} --add-section .upld_info=3D{}= --add-section .upld.uefi_fv=3D{} {}'.format ( > > > > + LlvmObjcopyPath, > > > > + ObjCopyFlag, > > > > + ObjCopyFlag, > > > > + UpldInfoFile, > > > > + FvOutputDir, > > > > + EntryOutputDir > > > > + ) > > > > + set_section =3D '"{}" -I {} -O {} --set-section-alignment .upld= .upld_info=3D16 --set-section-alignment .upld.uefi_fv=3D16 > > {}'.format ( > > > > + LlvmObjcopyPath, > > > > + ObjCopyFlag, > > > > + ObjCopyFlag, > > > > + EntryOutputDir > > > > + ) > > > > RunCommand(remove_section) > > > > RunCommand(add_section) > > > > RunCommand(set_section) > > > > -- > > 2.32.0.windows.2