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 CB360D80F77 for ; Wed, 20 Dec 2023 22:12:37 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=ftCmohXiheciM0siFzbWLHxB+E1pja1SMX3tP84lzuo=; c=relaxed/simple; d=groups.io; h=Feedback-ID:Message-ID:Date:MIME-Version:User-Agent:Subject:To:Cc:References:From:In-Reply-To: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=1703110356; v=1; b=MzHc80lpgEHg0UDFEVUMrD/uyndD3wA/i+U7OOM7Uz7OUYQBLJyex0EfJzIB0+jl25nllK93 dROYcQsmm7Iw0moVvkdI+8iGXNe8DjXWf5j1QFYsinrQ0B4Tsg45nktQuJ99nJ+gwY5kmp8z67j XXWE8c5lRm0uvfMtcA5yJPJ4= X-Received: by 127.0.0.2 with SMTP id XJBiYY7687511xVJxvO18xLV; Wed, 20 Dec 2023 14:12:36 -0800 X-Received: from out2-smtp.messagingengine.com (out2-smtp.messagingengine.com [66.111.4.26]) by mx.groups.io with SMTP id smtpd.web10.34007.1703110355353420340 for ; Wed, 20 Dec 2023 14:12:35 -0800 X-Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id A8D0A5C0875; Wed, 20 Dec 2023 17:12:34 -0500 (EST) X-Received: from mailfrontend2 ([10.202.2.163]) by compute5.internal (MEProxy); Wed, 20 Dec 2023 17:12:34 -0500 X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvkedrvdduvddgudehkecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpefkffggfgfuvfevfhfhjggtgfesthejredttddvjeenucfhrhhomheptfgv sggvtggtrgcuvehrrghnuceorhgvsggvtggtrgessghsughiohdrtghomheqnecuggftrf grthhtvghrnheptddtleefheduueehhfekieejgfeitdetteffgefgiefgtdetleelffff ledtvddvnecuffhomhgrihhnpehtihgrnhhotghorhgvrdhorhhgnecuvehluhhsthgvrh fuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomheprhgvsggvtggtrgessghsughi ohdrtghomh X-ME-Proxy: Feedback-ID: i5b994698:Fastmail X-Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 20 Dec 2023 17:12:32 -0500 (EST) Message-ID: <78af5d24-310c-49b1-b2dd-edca25e946cb@bsdio.com> Date: Wed, 20 Dec 2023 15:12:28 -0700 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [edk2-devel] [PATCH] BaseTools: FMMT GuidTool Auto Select Config file Enabling To: Yuwei Chen , devel@edk2.groups.io Cc: Liming Gao , Bob Feng References: <20231215091151.62-1-yuwei.chen@intel.com> From: "Rebecca Cran" In-Reply-To: <20231215091151.62-1-yuwei.chen@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,rebecca@bsdio.com List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: X-Gm-Message-State: tRshV4PFQ4BjJ1ulaf1OaQ7yx7686176AA= Content-Language: en-US Content-Type: text/plain; charset=UTF-8; format=flowed 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=MzHc80lp; spf=pass (spool.mail.gandi.net: domain of bounce@groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce@groups.io; dmarc=none Reviewed-by: Rebecca Cran On 12/15/2023 2:11 AM, Yuwei Chen wrote: > REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3D4624 > > Currently, Python FMMT tool does not support automatically > select FMMTConf.ini file which saves GuidTool settings. > This patch supports this features. > > Cc: Rebecca Cran > Cc: Liming Gao > Cc: Bob Feng > > Signed-off-by: Yuwei Chen > --- > BaseTools/Source/Python/FMMT/core/GuidTools.py | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/BaseTools/Source/Python/FMMT/core/GuidTools.py b/BaseTools/S= ource/Python/FMMT/core/GuidTools.py > index a25681709b..f6bdeffa50 100644 > --- a/BaseTools/Source/Python/FMMT/core/GuidTools.py > +++ b/BaseTools/Source/Python/FMMT/core/GuidTools.py > @@ -110,7 +110,7 @@ class GUIDTools: > if os.environ['FmmtConfPath']: > > self.tooldef_file =3D os.path.join(os.environ['FmmtConfPath= '], 'FmmtConf.ini') > > else: > > - PathList =3D os.environ['PATH'] > > + PathList =3D os.environ['PATH'].split(os.pathsep) > > for CurrentPath in PathList: > > if os.path.exists(os.path.join(CurrentPath, 'FmmtConf.i= ni')): > > self.tooldef_file =3D os.path.join(CurrentPath, 'Fm= mtConf.ini') > -=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 (#112771): https://edk2.groups.io/g/devel/message/112771 Mute This Topic: https://groups.io/mt/103187642/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-