From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by mx.groups.io with SMTP id smtpd.web08.3008.1663737404795631886 for ; Tue, 20 Sep 2022 22:16:45 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="unable to parse pub key" header.i=@intel.com header.s=intel header.b=MOHe07/v; spf=pass (domain: intel.com, ip: 192.55.52.43, mailfrom: guo.dong@intel.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1663737404; x=1695273404; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=XQkoFqyFpRCXM6SAENT1Ekf8r5GyB3s280aiRG3XQ/g=; b=MOHe07/vbffGIWq0IbrdRAPIL3GCT7syJK2g6tzJYL5y/Shw2WpS14L5 q0K1ZU4Ct1Je5dwd92WRG/mbALvJlzmwf9c43voVRfKcD0JS9e0624nlK f7BvB1H70/Z26lEElkLKkPT+vZF+aHB123SJ1RTRMc2PQwrmOm3QJGV5Z vCydmSSNSmTy4DmVMfJrcaFOgJ06G+geDjpbHVGmNv5NqWbTo163XDtLW A9beVULzrW5jEXu3IK1yQia9XHpPkWDJfU58sAGZ57j0KqSqC/1AkpSfO OfIjh4qEOOnRX3WNdW1WfdiI+xKeC2pj9yeXYHkKmmftUQBg1fwkD6Us7 g==; X-IronPort-AV: E=McAfee;i="6500,9779,10476"; a="386187736" X-IronPort-AV: E=Sophos;i="5.93,332,1654585200"; d="scan'208";a="386187736" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 20 Sep 2022 22:16:40 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.93,332,1654585200"; d="scan'208";a="649899104" Received: from orsmsx602.amr.corp.intel.com ([10.22.229.15]) by orsmga008.jf.intel.com with ESMTP; 20 Sep 2022 22:16:40 -0700 Received: from orsmsx609.amr.corp.intel.com (10.22.229.22) by ORSMSX602.amr.corp.intel.com (10.22.229.15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.31; Tue, 20 Sep 2022 22:16:39 -0700 Received: from orsmsx609.amr.corp.intel.com (10.22.229.22) 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.2375.31; Tue, 20 Sep 2022 22:16:39 -0700 Received: from orsedg603.ED.cps.intel.com (10.7.248.4) 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.2375.31 via Frontend Transport; Tue, 20 Sep 2022 22:16:39 -0700 Received: from NAM10-DM6-obe.outbound.protection.outlook.com (104.47.58.109) by edgegateway.intel.com (134.134.137.100) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2375.31; Tue, 20 Sep 2022 22:16:39 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=aqRtKIvtQJ35gslc19MFS2ETSU0nz7zPQZmDHa4uc4JOylejMzz4oK2pZukwPOoq72ImPMoRRuJPY5keSF7koXJimQH4WkyaamorAVeaJRwqACfuEniSvH++rpBws171thU064r6nBCKjm1TLfEZPoLfMQphobz3zqArhpIToYUXVjttl8ruVTRA5YB8hj/0UyT+VYkAeg4HiejE9rdbGMgqR+QyhuVo5oT89fEMuxcCXvmz+3HI29HdG8Vk210lfVwFlQsJU9vKzaS3RuVNJOLZjY5l5DT0G01cT8q/WFCHAGHzbYMalbm2zUkXpz5Z92bJ8ATqiUzuvkuA4yg/pg== 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=fb4EB7WTd5GHdrdO9DFEIsAMydUODr52nQSHOOmRS8w=; b=fM45m2dhvb0pqvimGVoE7oVnDi/qDZPWdO/ttcSIQMrspVlLggCnIB8m6FELx//Px+CmWw3P0x6R55T8XGwJcsUDosiDHgOPuRN3WSdeV8fayRpGBAwv24uhH2eT/Yuu0QzkCV5fiCQi0PBmhDuIdNwuoizBBTbs5zxOxL0pUEZl1u7SiTvS4rofVAAgs8mNsdtrYgo7zhhzsKE7BFJYGANzMt+g9G+EWNN4YguyeLergvBWYQy0OTd06VyMso+sUkkHOHN5kpOrZROOHUrUkMV/9ZtswLFShu6Gq/oyJlLJhIIBgBCtqPEG1ePDbjLl7MqdtlnjjVL9Oen/A/VUqA== 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 CY5PR11MB6260.namprd11.prod.outlook.com (2603:10b6:930:23::16) by CY8PR11MB7035.namprd11.prod.outlook.com (2603:10b6:930:51::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5654.14; Wed, 21 Sep 2022 05:16:38 +0000 Received: from CY5PR11MB6260.namprd11.prod.outlook.com ([fe80::9e9c:6e7d:755:36c8]) by CY5PR11MB6260.namprd11.prod.outlook.com ([fe80::9e9c:6e7d:755:36c8%7]) with mapi id 15.20.5654.016; Wed, 21 Sep 2022 05:16:38 +0000 From: "Guo Dong" To: "Hsu, VictorX" , "devel@edk2.groups.io" CC: "Lu, James" Subject: Re: [PATCH] UefiPayloadPkg: Provide a wrapper for UniversalPayloadBuild.py Thread-Topic: [PATCH] UefiPayloadPkg: Provide a wrapper for UniversalPayloadBuild.py Thread-Index: AQHYzWCFmc1TtDoP/UGQgJ33IkEbqK3pV9wA Date: Wed, 21 Sep 2022 05:16:37 +0000 Message-ID: References: In-Reply-To: Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-reaction: no-action dlp-version: 11.6.500.17 authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; x-ms-publictraffictype: Email x-ms-traffictypediagnostic: CY5PR11MB6260:EE_|CY8PR11MB7035:EE_ x-ms-office365-filtering-correlation-id: 5bd44dc1-813d-4a27-2abf-08da9b9075cf x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: QNwZiAWviQCiryaMLxDMbtGQz/FBr7YOn3slsIy75hCmtvWd+eiN9IO+VIZYn/dEPQ1fukyFzpmVk/8qJrPvagcUKNbu5BCo+BHEygMj+fSKka5vW1uoPX5emO+Tlr0xX3NYmBlgXhtP094O4BBsjq/EYfV3l9chYISRjm2BuIh56ofcoW1ZBSO8G/OM62fTAciMsVvn3PYEz2PW6pguwtBdjxdFT7IeVBIM0ufax36ZJ+XkHgytbdd4OfJsNRHV/PELBttHolJ91DNrwShEy/eJ46tSoy/VynNj8Sm7Nz3NPHMfaD18MCcxfPigDSvyhCakoCv/KBwbjtAMXV3DdTu5CcLAu5Vg3Qee+6J/FtJlpuT0t4ybxhhqPOGXpRANXQu/kN0GZvhbKn0RAVtZ3unXqSkhM0N6rlm5GdKwuc3uQxYjUfygnNPSRDwToRZ7vtORXaWW2+QmukuUXmDhIYAdbrvjoyd3CNdvQaR4dqnfziFtfONog2AVWqAMLFgBRcMP11sKrWtlx7CZYmF8+7tEQW0T4uiXt/TWS27X6859HoaDUjNJvsyd4dlsPjgV2f4HiiwjcxmrhJbunVZkbwURKLvoXrip406DFG/wHpNFKEHet6PkZXS01QkbueYK5hMQlYHESDsdfZ4iDwqDbj/CNvns7mISDTUfDt+6dU/j4kycewxTmFST8j/OKKx5skkux7acCrnO6jWHEDSoPU45uY7bpJYOipAvSPtjdTs66qZfrlNQpOB95B8revcLqImH7ocAYvPBWqjH1Vjj2Qfh6GBip3rEArfy67sdwug= x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:CY5PR11MB6260.namprd11.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230022)(346002)(396003)(376002)(366004)(136003)(39860400002)(451199015)(53546011)(86362001)(7696005)(4326008)(107886003)(41300700001)(26005)(8936002)(66476007)(6506007)(38070700005)(66556008)(478600001)(66446008)(71200400001)(33656002)(64756008)(110136005)(66946007)(76116006)(8676002)(966005)(316002)(186003)(2906002)(52536014)(9686003)(5660300002)(122000001)(82960400001)(38100700002)(55016003)(83380400001);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?AZVjMK+rvYJrU+acHh+EEgmK1AQreNE/5n3krXboxPQ/JHj5du/GXyxOfzUG?= =?us-ascii?Q?/rGJjLdbp16ctH/rf70wGywQF3tjNI04cWwmMFdDsiLocnFWt7N77gMlKJtG?= =?us-ascii?Q?LMb/r6kvATnHpbkhmKGf+r/qinQq7ksYOX57crNLzIIl+B9LfI7fWA5TfLil?= =?us-ascii?Q?XwP/lxxeaxx85eS2xgj5INwTQnPfgsw/4+hAzf8sp+QYruOJWGaaIYApoNZk?= =?us-ascii?Q?fVjcBhWHOKYns34VGuwGIaFGBLlvNe4vPS1xKw4xcCPa08PBj55/gN7oHLxw?= =?us-ascii?Q?+D7G1C70/Hg+HP82Jl51jshlOuHvJrcHpxhgKdOg0vAnmvJEaVO42QZXR1fX?= =?us-ascii?Q?m2/yBKvJXp6MX26uK5D952L9iDkdELE2yCkHURmCv8thJ6+28xqtzflpwvnV?= =?us-ascii?Q?wSMbxR7N3O2q9lPZEaid8SvHdAF0BGWhdMZFQDaTEGeiMJufzkwbuYy4/v69?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XVR2A5ztd2Uv/TJ/DcAi2aTi/A1Ycoup3I?= =?us-ascii?Q?eVChZ313MShgPDxkMTLANkMlSTPjbe9bJPIqCzkaJdNENpykgey0OOEY4Em9?= =?us-ascii?Q?tJ53zW21i8H4SXy5PK/xzX+XKXHf7Vt/Z/ofCUdtRJ/Svz/gxi1ED5vTOjTX?= =?us-ascii?Q?JEFSf4ekyJwxEVuN2HuakegjmzxaJgODtMojSqDBZveJ+l1PCgd1keegEF2I?= =?us-ascii?Q?xOgMWUvsLywMoVD1C6JKIpeu8Aoy0BzHNNP/dg5h?= MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: CY5PR11MB6260.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 5bd44dc1-813d-4a27-2abf-08da9b9075cf X-MS-Exchange-CrossTenant-originalarrivaltime: 21 Sep 2022 05:16:37.9828 (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: tzLVzdEg8P3X/2J9i64K0umLn8Q0iNyfJHz9n89DdyT0qGVMZO+ythZxghL3sJGQRQyOWFUORAk+A3x3xGLBoQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY8PR11MB7035 Return-Path: guo.dong@intel.com X-OriginatorOrg: intel.com Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Reviewed-by: Guo Dong -----Original Message----- From: Hsu, VictorX =20 Sent: Tuesday, September 20, 2022 7:19 PM To: devel@edk2.groups.io Cc: Hsu, VictorX ; Dong, Guo ; L= u, James Subject: [PATCH] UefiPayloadPkg: Provide a wrapper for UniversalPayloadBuil= d.py From: VictorX Hsu REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3D4071 Provide a wrapper to wrap UniversalPayloadBuild.py Cc: Guo Dong Cc: James Lu Signed-off-by: VictorX Hsu --- UefiPayloadPkg/UniversalPayloadBuild | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 UefiPayloadPkg/UniversalPayloadBuild diff --git a/UefiPayloadPkg/UniversalPayloadBuild b/UefiPayloadPkg/Universa= lPayloadBuild new file mode 100644 index 0000000000..fc3c2aadc9 --- /dev/null +++ b/UefiPayloadPkg/UniversalPayloadBuild @@ -0,0 +1,14 @@ +#!/bin/bash +# +# Copyright (c) 2022, Intel Corporation. All rights reserved.
+# +# SPDX-License-Identifier: BSD-2-Clause-Patent +# + +if command -v ${PYTHON_COMMAND} >/dev/null 2>&1; then + echo python_exe=3D${PYTHON_COMMAND} +fi + +upl_bldfile_path=3D${BASH_SOURCE:-$0} +echo "upl_bldfile_path=3D$upl_bldfile_path" +exec "${python_exe:-python}" "$upl_bldfile_path.py" "$@" --=20 2.28.0.windows.1