From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) by mx.groups.io with SMTP id smtpd.web10.23954.1679427202613274267 for ; Tue, 21 Mar 2023 12:33:22 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="unable to parse pub key" header.i=@intel.com header.s=intel header.b=VQ1LDkat; spf=pass (domain: intel.com, ip: 134.134.136.31, mailfrom: isaac.w.oram@intel.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1679427202; x=1710963202; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=KDQnV5rps35DosaXdfaJFojQj0dz6hCta9bUKLKCLTw=; b=VQ1LDkatUrJMJ4IcCV5PNXISaJxAYXTwRvsx0o82H2Felfoo75cZ4Xcl ThSO2gu3nRA+ihJs91ueu51Sh/Pao5eb7Ta8vrUdGlnPs3Ogv0q2qTKjF FCsO36ojLLHOaiCZEIMG+HaJWprohHkbSX9Pf7qgHDsOey6JtjOjh7FVC eFmk7QF0DneDnqEX+GAGxRd/Rqauc+5FOFNDMzdDMs1ottOh47XCvU9dp wlK9cX+h3Y+htGCg5rmjtNRQRXr41Mq5jUJX/KlwEJTQMV+3FHAIkcinV Un/D2ePNtL44aRG0fIP35fhZ1HAmLfDwT5Pif0YkD5PSbXL3yZBG9zUZr Q==; X-IronPort-AV: E=McAfee;i="6600,9927,10656"; a="401614369" X-IronPort-AV: E=Sophos;i="5.98,279,1673942400"; d="scan'208";a="401614369" Received: from orsmga007.jf.intel.com ([10.7.209.58]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 21 Mar 2023 12:33:21 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10656"; a="674982619" X-IronPort-AV: E=Sophos;i="5.98,279,1673942400"; d="scan'208";a="674982619" Received: from orsmsx601.amr.corp.intel.com ([10.22.229.14]) by orsmga007.jf.intel.com with ESMTP; 21 Mar 2023 12:33:21 -0700 Received: from orsmsx601.amr.corp.intel.com (10.22.229.14) 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.21; Tue, 21 Mar 2023 12:33:21 -0700 Received: from orsedg603.ED.cps.intel.com (10.7.248.4) 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.21 via Frontend Transport; Tue, 21 Mar 2023 12:33:21 -0700 Received: from NAM11-DM6-obe.outbound.protection.outlook.com (104.47.57.177) 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.2507.21; Tue, 21 Mar 2023 12:33:21 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=PRNoLC/h/W82I/2S5w8f/4cthv7tx5SEoJjCzLL5aKeVyREGPBJjIXPsVqtM3/LyHXLH4MDYW4ehN3rpoBsTy9frZQ1tgz7nVzFPsTGlPXB7Dtu0+9G9MzQe405J091SmKZyh/gdoXDePX+pev/GYq5l0Ra4A1Z17wR0Nhr0rIQIUIUCNYKILf1D7usdmizVBBDUdlORYNl2QnlRbo79mkrbxcmJ7ohivlM4tJW4WyXiqcSL1iEqJNbsZp1L7HtcqgmTvB/W79b/1H0O8ykBge3q0QcWPlicV3SL8ReMt/K4h2M8EAbVQc6mzCYB18DEwaDgczkKVfV7C8PIS+0uEA== 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=S/Lj/B4GWpBuMFElOxsnypwrVknMjRqEokmpCLH63CU=; b=RnbjNaMzcK0OEQDZz8lZjjNqVeFEzsIpRbqoGLCCSN5rIksAh3FSI8+KmEptLwcqXBv5f/Qk5HGJ2Wi7nM8m0OPWBdUWDRHrfRlcL5/4TW4Poi5Bz9LpqfEOXYU9m1mjpkyMxXcSbtEHXRWWGWn5o42bmwl6BVJW2Vfky7sJGobU3x5GjULCYojcxeKbBPRvXiSyikzwuEbkywZoZS4ZdhbWKuO/3uF9ooNsl/ZlpMJhGlzDoFbbgTsXW+fxGofxVUU1kMzQX2Gdc1J6JAV2EMjSwiLOh7FqLqEHl7RvWJfT2o572slZlP96Ps/Hcumk/bPJZNY8B/skJew0ALGJGg== 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 SA1PR11MB5801.namprd11.prod.outlook.com (2603:10b6:806:23d::13) by BL3PR11MB6313.namprd11.prod.outlook.com (2603:10b6:208:3b0::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6178.26; Tue, 21 Mar 2023 19:33:18 +0000 Received: from SA1PR11MB5801.namprd11.prod.outlook.com ([fe80::5fe4:fb10:27ba:d2ad]) by SA1PR11MB5801.namprd11.prod.outlook.com ([fe80::5fe4:fb10:27ba:d2ad%9]) with mapi id 15.20.6178.037; Tue, 21 Mar 2023 19:33:18 +0000 From: "Isaac Oram" To: "Rudolph, Patrick" CC: "devel@edk2.groups.io" , "quic_llindhol@quicinc.com" , "Kinney, Michael D" , "Chaganty, Rangasai V" , "Desimone, Nathaniel L" , "Gao, Liming" , "Dong, Guo" Subject: Re: [edk2-platforms][PATCH 2/2][RESEND] PlatformPayloadFeaturePkg.py: Add Linux support Thread-Topic: [edk2-platforms][PATCH 2/2][RESEND] PlatformPayloadFeaturePkg.py: Add Linux support Thread-Index: AQHZWwl3os9oJSufV0ij4HvdmPztdK8Flzmg Date: Tue, 21 Mar 2023 19:33:18 +0000 Message-ID: References: <20230320085327.1387588-1-patrick.rudolph@9elements.com> <20230320085327.1387588-2-patrick.rudolph@9elements.com> In-Reply-To: <20230320085327.1387588-2-patrick.rudolph@9elements.com> 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-traffictypediagnostic: SA1PR11MB5801:EE_|BL3PR11MB6313:EE_ x-ms-office365-filtering-correlation-id: e8fc625a-a833-42a9-d39f-08db2a431f71 x-ld-processed: 46c98d88-e344-4ed4-8496-4ed7712e255d,ExtAddr x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: siQkpXbx8IKoNfkhvh82/qT0GK+vdLDcLjh9yWr4uMad5P0RIF0weEvIe2wSfQg04lDX8862Or1TbF2CIfzLYuP+n0r/Ye6tOn+XeMLWU2mAJ9l2mroAC2I3fGAu8EHQnd0mMUQoplxvruYL6xeNXqAEj4LQyRg4hdyiOGi4rlpPbbpQm75fazr/3gYKQxv37OVKt7FbHAfi/YtPxGYkNdFMGlgqpXu+w1mXJMGNWA8ghMeiSPP8Eo55GtxaFh3EzordGuAJDL5SoAhErpad6yuOZNxo0AfdPJgu3o/tAJ2CNVw3tMK0aYzL3NXDtMpFpIo0LW/JOC24Sq/eWLRyFs+kUty9XnhsCslUupm84OE6YFeySU1Y6qpICEUSqOKFPem3uwL8FNvQ/MGf10rnc3XyEWa1OG5A1+KLW1YpfyVtEauJGdgTuw+Ntvva8IGagEOdjHbwJADrQXkzFHnvBvV/wint9/YGVQnjolxlH5PR6+Svfs8u25ELkCQz6beobsqAq5nIasClMKO+0/UsTjqqw7tAsxvVdgYZHQNVvKSQ2LVpVSThL17lXmPNrZnvYYBVEz33M3hKAFmYbPoW+4AAyfDiiLKq+DDvKU/IH5YtRdX44GHamGu3SiC1XkJS8h4iS3Yrce4pCe0sAKI5xTH7NCPqFTlm4XQL6oO5crzI+3DmR6N56ecMX5A+RiHruIJ/KdHFr6Fdq3fwnz0RoIP15t7Tsc8jcS5j/+02o64= x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:SA1PR11MB5801.namprd11.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230025)(346002)(366004)(39860400002)(396003)(136003)(376002)(451199018)(86362001)(8936002)(38070700005)(8676002)(5660300002)(6916009)(64756008)(66446008)(9686003)(76116006)(52536014)(54906003)(7696005)(66946007)(4326008)(41300700001)(33656002)(316002)(66476007)(966005)(26005)(38100700002)(83380400001)(122000001)(478600001)(71200400001)(107886003)(82960400001)(55016003)(2906002)(6506007)(66556008)(186003)(19627235002);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?dLot5eSQK1NgrSykWNUcR9h05Uo1TaardxBIXXvYASSbN4jJNu4MAEqI9R0T?= =?us-ascii?Q?UtOaWYMZmWGnJqH0XeCQw6sgYw13ZbEEGL6zpRWCvaJXwUiBLS+4fNmiOtVv?= =?us-ascii?Q?b0lTRKqSfUHpEMIpXpGnyfoHZt2wU0JSM123uyloVDXmuSDU5bSAWUZTOY0A?= =?us-ascii?Q?eEwLpwfDdI7XM3bpCOInysrZqGT++eh++NUU3bFRFfoIDIDszLNfe1j1Do42?= =?us-ascii?Q?fErSquiqoPSLgAmM446JhexmAO49vKr29BOC9edMEL6DwdQs9zr9xjeAebZT?= =?us-ascii?Q?4lcnELu3Jmp3r7yRpTFIwMDmKnqslCOKii83A9hoTUhWn4S1SKDqxko2engP?= =?us-ascii?Q?e0f27j3fxsKL4h/+Eg8Ap3PAPSCNyK94zS2ESsdA8aKYJ8S8t7JTu1GUynwN?= =?us-ascii?Q?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XcB8TWWETMVu/t4OShOjfivp?= =?us-ascii?Q?5jM5+huv6qJZEtRTcEJdOC2SSIZ2fy0jznXE1Qy8g9MBzkN2Lg8f9ioXAvQM?= =?us-ascii?Q?S9k96/q2DqlUi2ZP9j2g8Ya7F7y5KxC1g3yWcvzLtU7/RWqBMHFAdYjYTHLZ?= =?us-ascii?Q?DGIz+bpUfvlW4na88oewC60zz5SYs6rrscfws0RbVDIyFa07xe9c0BXvMkVR?= =?us-ascii?Q?E0sRARM+8LdWF4FUNr68G6S/VhO18us93h/PGtbSl1l3MmZVZPlWTaWTdiwv?= =?us-ascii?Q?G6uBfrueICnhUYUzIGL4dW3P0XHvqOXLPEUHRTRv?= MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: SA1PR11MB5801.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: e8fc625a-a833-42a9-d39f-08db2a431f71 X-MS-Exchange-CrossTenant-originalarrivaltime: 21 Mar 2023 19:33:18.1317 (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: lusTi2nDbgyehRop8nbBkMXycORU15zYepwvljfVjiFT/8gi8trPFn0D2Ne7/HPqlww25GRF6DgpoRbM9+aGFg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BL3PR11MB6313 Return-Path: isaac.w.oram@intel.com X-OriginatorOrg: intel.com Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Reviewed-by: Isaac Oram In the future, please CC maintainers from https://github.com/iworam/edk2-pl= atforms/blob/master/Maintainers.txt in the commit messages. -----Original Message----- From: Patrick Rudolph =20 Sent: Monday, March 20, 2023 1:53 AM Cc: devel@edk2.groups.io; quic_llindhol@quicinc.com; Kinney, Michael D ; Chaganty, Rangasai V ; Oram, Isaac W ; Desimone, Nathaniel L ; Gao, Liming Subject: [edk2-platforms][PATCH 2/2][RESEND] PlatformPayloadFeaturePkg.py: = Add Linux support - Use OS specific path seperator instead of hardcoding ';' - Fix case of build artifact FV/PLATFORMPAYLOAD.Fv Test: python Features/Intel/PlatformPayloadFeaturePkg/PlatformPayloadFeaturePkg.p= y works on Linux. Signed-off-by: Patrick Rudolph Ref: https://bugzilla.tianocore.org/show_bug.cgi?id=3D4358 --- Features/Intel/PlatformPayloadFeaturePkg/PlatformPayloadFeaturePkg.py | 4 = ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Features/Intel/PlatformPayloadFeaturePkg/PlatformPayloadFeatur= ePkg.py b/Features/Intel/PlatformPayloadFeaturePkg/PlatformPayloadFeaturePk= g.py index 2fbb8215..51aa8de5 100644 --- a/Features/Intel/PlatformPayloadFeaturePkg/PlatformPayloadFeaturePkg.py +++ b/Features/Intel/PlatformPayloadFeaturePkg/PlatformPayloadFeaturePkg.py @@ -38,7 +38,7 @@ def BuildUniversalPayload(Args, MacroList): # Find universal UEFI payload build build script # Edk2PayloadBuildScript =3D os.path.normpath("UefiPayloadPkg/UniversalP= ayloadBuild.py") - for package_path in os.environ['PACKAGES_PATH'].split(';'): + for package_path in os.environ['PACKAGES_PATH'].split(os.pathsep): if os.path.exists (os.path.join (package_path, Edk2PayloadBuildScr= ipt)): Edk2PayloadBuildScript =3D os.path.join (package_path, Edk2Pay= loadBuildScript) break @@ -49,7 +49,7 @@ def BuildUniversalPayload(Args, MacroList): BuildDir =3D os.path.join(os.environ['WORKSPACE'], os.pa= th.normpath("Build/UefiPayloadPkgX64")) PlatformFvReportPath =3D os.path.join(BuildDir, "PlatformPayloadRepo= rt.txt") UniversalUefiPld =3D os.path.join(BuildDir, 'UniversalPayload.el= f') - PlatformFv =3D os.path.join(os.environ['WORKSPACE'], os.pa= th.normpath("Build/PlatformPayloadFeaturePkg"), f"{BuildTarget}_{ToolChain}= ", os.path.normpath("FV/PlatformPayload.Fv")) + PlatformFv =3D os.path.join(os.environ['WORKSPACE'], os.pa= th.normpath("Build/PlatformPayloadFeaturePkg"), f"{BuildTarget}_{ToolChain}= ", os.path.normpath("FV/PLATFORMPAYLOAD.Fv")) =20 if "CLANG_BIN" in os.environ: LlvmObjcopyPath =3D os.path.join(os.environ["CLANG_BIN"], "llvm-ob= jcopy") --=20 2.39.1