From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by mx.groups.io with SMTP id smtpd.web10.3920.1648707405064884548 for ; Wed, 30 Mar 2022 23: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=f6qGpV5Y; spf=pass (domain: intel.com, ip: 192.55.52.93, mailfrom: ray.ni@intel.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1648707405; x=1680243405; h=from:to:subject:date:message-id:references:in-reply-to: content-transfer-encoding:mime-version; bh=Pe6CtkaPH21FmvEfea1ward18uDY/WsSoCcszkym40g=; b=f6qGpV5YeKu16wI/ZRJ51ROPJ3PBRgmJ1Y0aFjC+x8uDL0m/a3s0xS8y V/EjURRR2XUt/qiZ64si5AH6gT5bpm+yJioILoLCeuIXZyZCH2bu9BozQ dPKCYsLcOG9OkD7i/DBYJIvbocBQEY7oX1wVIwXz7PEnJ5lCtk2QsBVos rhmgAOyFT6LtKcAstejASph8CiIYsxg+f9uqNvZqNM9zrQAUZPEUI0bif TtSYPkCGOhsPHmOJNr4UwRm3ZMYgVXz8VPMBmHbkZF74bPc8MaxyA8vfT rgdx2FLB+ZT2HPnsgLoF1d/zzEdtAykNmURhZT+1CFn5BYTSot2clD8WK A==; X-IronPort-AV: E=McAfee;i="6200,9189,10302"; a="257310840" X-IronPort-AV: E=Sophos;i="5.90,224,1643702400"; d="scan'208";a="257310840" Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 30 Mar 2022 23:16:44 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.90,224,1643702400"; d="scan'208";a="650153771" Received: from fmsmsx601.amr.corp.intel.com ([10.18.126.81]) by fmsmga002.fm.intel.com with ESMTP; 30 Mar 2022 23:16:44 -0700 Received: from fmsmsx608.amr.corp.intel.com (10.18.126.88) by fmsmsx601.amr.corp.intel.com (10.18.126.81) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.27; Wed, 30 Mar 2022 23:16:43 -0700 Received: from fmsmsx602.amr.corp.intel.com (10.18.126.82) by fmsmsx608.amr.corp.intel.com (10.18.126.88) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.27; Wed, 30 Mar 2022 23:16:43 -0700 Received: from fmsedg602.ED.cps.intel.com (10.1.192.136) by fmsmsx602.amr.corp.intel.com (10.18.126.82) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.27 via Frontend Transport; Wed, 30 Mar 2022 23:16:43 -0700 Received: from NAM10-MW2-obe.outbound.protection.outlook.com (104.47.55.108) 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.2308.27; Wed, 30 Mar 2022 23:16:43 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=aK5x0sKSPXzyECjjZJ1ffcU3NRlXj7B4JFCuaBKwNapQxXWVplkF72HIjAx3/MRx6ZNU/xH4daEAdanwTxGpmE3belvLKUKnLajFsZhZDr0Py55NIHanH1yXT1PHbja9DOcviRDw64jLVKsDRoioRgGZ6fkY1IU6dthhAWwXy7sO6mKUWKP53Ez8kJX90g2xPAV9MUd5BUr8erOtAJZxVUThTNgEDrOqCvMiDf7wMdbBrV8VJkvjyIYA/DHi8WD/GOc/54fgZtoN8pKHd05T0EYQ1rpgK9TCJwBO0svVTB+i2vP3hIXvnrqw2CkqhCUxK7Cx+/5/c7BcCJ0xG1JRrw== 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=NPF3d3BhYnokoUNcqC2iLN6Ht5cwI7u91pKE6bqRBeY=; b=N6+SXRAScDWOClbE2YCRHq1iptfWP3MJbo1GHiY3XT1ODbCxu2UmWz26Z/LTVGAoo6fgKBvJSkp4U1jrUg8qDrWW/yUGWZXJeSV5Q8kqPH4iIWFtVONot71lB2LrVUHbnfG62ducNsrZHPxLPzuCnTxQ7ClLT31M82z1yuVbQvZDrr5IJyRyK0vpDdeoHD5d90f63YK+rwCCHavowLjIRJv1mPPk45ARLkFIoNnp7ZQja36v3CmaJdU4X4fF2BVI0pSf2c4bPAWthR50rISJpQ3P2eF5h0Q12BKHGzEbimrkqivj4KjEAhoK3Z/EfP2f5ASGmOJuj5Zc9D00i6riMw== 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 MWHPR11MB1631.namprd11.prod.outlook.com (2603:10b6:301:10::10) by BY5PR11MB4037.namprd11.prod.outlook.com (2603:10b6:a03:188::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5123.21; Thu, 31 Mar 2022 06:16:36 +0000 Received: from MWHPR11MB1631.namprd11.prod.outlook.com ([fe80::a88a:3f13:4d9:3127]) by MWHPR11MB1631.namprd11.prod.outlook.com ([fe80::a88a:3f13:4d9:3127%11]) with mapi id 15.20.5123.019; Thu, 31 Mar 2022 06:16:36 +0000 From: "Ni, Ray" To: "devel@edk2.groups.io" , "Rhodes, Sean" Subject: Re: [edk2-devel] [PATCH 3/3] UefiPayloadPkg: Add --quiet argument to Universal Payload build script Thread-Topic: [edk2-devel] [PATCH 3/3] UefiPayloadPkg: Add --quiet argument to Universal Payload build script Thread-Index: AQHYQ6wNj/poW9xrFUixTM54N7q2HKzZBlRw Date: Thu, 31 Mar 2022 06:16:35 +0000 Message-ID: References: <31008ef5ec72bb5f96a1c21f71ba127b6aa9bafe.1648585893.git.sean@starlabs.systems> In-Reply-To: Accept-Language: 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: 53863e9e-77af-4054-800b-08da12de028c x-ms-traffictypediagnostic: BY5PR11MB4037:EE_ x-ld-processed: 46c98d88-e344-4ed4-8496-4ed7712e255d,ExtAddr x-microsoft-antispam-prvs: x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: wo6QN+AXl84m8+JhpMstjYp6jLxqCtLxoqQ6PMKGKlBWbKfr+LE4hIcVrsMM3t3UNtcPLfGbZgPXfQPj6CwAiXsz2G1Mvp5CW5fqRHkOSxTFFF8igZTiXYskHTXxl+52eI9EwKn9vP5KFJW8UyXIJALftBBLD/h+8Sj4nhcGKGPsJITqNcH2xihbgroOM4lazQl5zzSt0LBGvyJ+Bsd9D968tpo1GQDE0YnW6wwtqHR7DqKUdAfhXxwYHxv9ZkDCnAfbzR3lMtiPvg7zCqP9iJp0JrD6n9v0yVPmrhlsVED+Dpdv64XoZm60692OhvhpaUuFDsGS/hAp7/cNWyCtll0H3TJIAGC8F/f9eo2Up4dgR9tFHJF7U5Z4NNx4fV+wM2ArWiIlqU7BWhJD5QHUzCgJzYKXFuyKKmRPmMOXrRekZgv68ccONnizOmFCSStE3e9NGn/nNozp+ZiGXTQf8/JPPyqjNnxIlCIZodWs/1eJkMLuF99H6Lr3UKI9f9o9y6x45+VkbtUiWP39EWT3b9aSiyD4AWtw21SkH7jRGwZr2lAOku6V2yJZQ3iogpRpCQQoxZjM2lnK39ApyE8gxgYt2M5YR0AZzh9S565dsLCuEsfcWC0kC1RgpfFf78ezZDMfigSQ420MGkxjJlilIcGhyGR07tPNcJSHSc0JWmoqx+aMMGMCyvcTgt5dBSba8BxRmTyPAAQg1h4lBlocO+gLGJnet6h11cn5nEg+jt4aGavTyOB5Rr2vC6WDSvgyaXRcoKKU4SM8uizzj7fT6sDkh7fJlIGRWuqHdKzzCHqUZl05us6AHm+ttwUBAq/jBUvEglkdIDy0RhjichajcA== x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:MWHPR11MB1631.namprd11.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230001)(366004)(71200400001)(83380400001)(55016003)(8936002)(86362001)(9686003)(52536014)(26005)(110136005)(186003)(38070700005)(2906002)(82960400001)(8676002)(64756008)(66446008)(33656002)(122000001)(66946007)(76116006)(508600001)(53546011)(966005)(66476007)(5660300002)(6506007)(66556008)(7696005)(38100700002)(316002);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?PtkMUZ49+luzS2wafDG2O23kWecDEHvQ34CwZLRXbZnjNwjCKAJqlk61e0YW?= =?us-ascii?Q?XefeTT346yABjBeejes4AT7uDIIUDfrtX6ZQpL2vJ2+UpAwKNR6OYx1f1Qpb?= =?us-ascii?Q?pGc+6AkZR9lQqTozNyazTzz5KLfkd4+1G8ELH+qEPcP87S8CRDSztF66I8EZ?= =?us-ascii?Q?Vecs+zYv7CWRQOh4twlCcJ5nQ8MV9zqVvIvWHgxb+qXGHtCRfOz8VyYZ2cXH?= =?us-ascii?Q?tD1uf8o+aKgiSzn6JK90v6tbt6h9LEFAVyQ6bSpaamh4AYhthbpG4F0HT/1c?= =?us-ascii?Q?MmFy3M+LcT1vz3Ds24dd9NAnjZWRWNY4h1yjtlQ+0IRlPH3j1DLra2ilWzfR?= =?us-ascii?Q?KPuz0KkOIPI/e20JjIzrs636f1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Q?8OAZehdkbbjaJsqdmik/7qOTHNP4TE/PNMD6YfMJWHC7/d+BabLw1ceLBHXG?= =?us-ascii?Q?pJLo8XS33qS++lg3fSzOzK6A9T6E2+q/JqZjEL0vsRyEMNB5W0aQLJurROrX?= =?us-ascii?Q?wCc3S/3CF/vvcDX2mz2yPehByyoNZNs4PnNgbVjBBkL6oZXyrMg/D9N8gzOc?= =?us-ascii?Q?ucNsfNG94y9GXUE0c5KfC7gCu/2msUbzDryGCUcNRUqF99zNRS+1Pws7WuZj?= =?us-ascii?Q?RTsUnRNrKXUUZqThcszYyfSbIjQhhzN9SFCFNooWXCTIcJ6gahaeB6mOagoK?= =?us-ascii?Q?bnM+hFaOBxVMxVAn6RzX3fNsyn6TG9IdzcrpZPLoeX0eOppmtloxlvdRALbx?= =?us-ascii?Q?l3teXegdiHwl+ZZyxfTRP7Pq/kzZJ/Wz+/dlGhI25/3ghNF0lnpOw5PtCCGi?= =?us-ascii?Q?nvWlDDJ11BQYn18Y6WFitSue3yO1piQ4t20Vji9YO9dBwRb0bqG+EedCiXgQ?= =?us-ascii?Q?ae37TBlZ/w=3D=3D?= MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: MWHPR11MB1631.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 53863e9e-77af-4054-800b-08da12de028c X-MS-Exchange-CrossTenant-originalarrivaltime: 31 Mar 2022 06:16:36.0054 (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: n0bQcYACIiBGbGtHbz9iiqCjF/7FO/ergFiADqfuEuMP2sg4lFWP4vJuYPQOqDZfbasgeWOUfar0ovco9xaqPg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY5PR11MB4037 Return-Path: ray.ni@intel.com X-OriginatorOrg: intel.com Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Reviewed-by: Ray Ni -----Original Message----- From: devel@edk2.groups.io On Behalf Of Sean Rhodes Sent: Wednesday, March 30, 2022 4:32 AM To: devel@edk2.groups.io Cc: Rhodes, Sean Subject: [edk2-devel] [PATCH 3/3] UefiPayloadPkg: Add --quiet argument to U= niversal Payload build script Signed-off-by: Sean Rhodes --- UefiPayloadPkg/UniversalPayloadBuild.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/UefiPayloadPkg/UniversalPayloadBuild.py b/UefiPayloadPkg/Unive= rsalPayloadBuild.py index 1b99eeff34..61423e5908 100644 --- a/UefiPayloadPkg/UniversalPayloadBuild.py +++ b/UefiPayloadPkg/UniversalPayloadBuild.py @@ -54,6 +54,7 @@ def BuildUniversalPayload(Args, MacroList): BuildTarget =3D Args.Target ToolChain =3D Args.ToolChain BuildArch =3D "X64" if Args.Arch =3D=3D 'X64' else "IA32 -a X64" + Quiet =3D "-q" if Args.Quiet else " " ElfToolChain =3D 'CLANGDWARF' =20 EntryModuleInf =3D os.path.normpath("UefiPayloadPkg/UefiPayloadEntry/U= niversalPayloadEntry.inf") @@ -82,13 +83,13 @@ def BuildUniversalPayload(Args, MacroList): # # Building DXE core and DXE drivers as DXEFV. # - BuildPayload =3D f"build -p {DscPath} -b {BuildTarget} -a X64 -t {Tool= Chain} -y {PayloadReportPath}" + BuildPayload =3D f"build -p {DscPath} -b {BuildTarget} -a X64 -t {Tool= Chain} -y {PayloadReportPath} {Quiet}" BuildPayload +=3D Defines RunCommand(BuildPayload) # # Building Universal Payload entry. # - BuildModule =3D f"build -p {DscPath} -b {BuildTarget} -a {BuildArch} -= m {EntryModuleInf} -t {ElfToolChain} -y {ModuleReportPath}" + BuildModule =3D f"build -p {DscPath} -b {BuildTarget} -a {BuildArch} -= m {EntryModuleInf} -t {ElfToolChain} -y {ModuleReportPath} {Quiet}" BuildModule +=3D Defines RunCommand(BuildModule) =20 @@ -120,6 +121,7 @@ def main(): parser.add_argument('-a', '--Arch', choices=3D['IA32', 'X64'], help=3D= 'Specify the ARCH for payload entry module. Default build X64 image.', defa= ult =3D'X64') parser.add_argument("-D", "--Macro", action=3D"append", default=3D["UN= IVERSAL_PAYLOAD=3DTRUE"]) parser.add_argument('-i', '--ImageId', type=3Dstr, help=3D'Specify pay= load ID (16 bytes maximal).', default =3D'UEFI') + parser.add_argument('-q', "--Quiet", help=3D"Less verbose output", act= ion=3D'store_true') MacroList =3D {} args =3D parser.parse_args() if args.Macro is not None: --=20 2.32.0 -=3D-=3D-=3D-=3D-=3D-=3D Groups.io Links: You receive all messages sent to this group. View/Reply Online (#88205): https://edk2.groups.io/g/devel/message/88205 Mute This Topic: https://groups.io/mt/90117696/1712937 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [ray.ni@intel.com] -=3D-=3D-=3D-=3D-=3D-=3D