From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=134.134.136.65; helo=mga03.intel.com; envelope-from=liming.gao@intel.com; receiver=edk2-devel@lists.01.org Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 80F2B2194D3AE for ; Wed, 26 Sep 2018 07:27:29 -0700 (PDT) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by orsmga103.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 26 Sep 2018 07:27:28 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.54,306,1534834800"; d="scan'208";a="92071252" Received: from fmsmsx108.amr.corp.intel.com ([10.18.124.206]) by fmsmga004.fm.intel.com with ESMTP; 26 Sep 2018 07:25:42 -0700 Received: from shsmsx102.ccr.corp.intel.com (10.239.4.154) by FMSMSX108.amr.corp.intel.com (10.18.124.206) with Microsoft SMTP Server (TLS) id 14.3.319.2; Wed, 26 Sep 2018 07:25:41 -0700 Received: from shsmsx104.ccr.corp.intel.com ([169.254.5.183]) by shsmsx102.ccr.corp.intel.com ([169.254.2.140]) with mapi id 14.03.0319.002; Wed, 26 Sep 2018 22:25:39 +0800 From: "Gao, Liming" To: "Zhao, ZhiqiangX" , "edk2-devel@lists.01.org" Thread-Topic: [PATCH] BaseTools:Fix issue caused by 84a52d4d030185a44f2d8736142c6f0b19c6e9b1 Thread-Index: AQHUVYP3AgFZJe1MIEqmIYEKBTh+k6UCnokw Date: Wed, 26 Sep 2018 14:25:39 +0000 Message-ID: <4A89E2EF3DFEDB4C8BFDE51014F606A14E31BF77@SHSMSX104.ccr.corp.intel.com> References: <20180926103026.20640-1-zhiqiangx.zhao@intel.com> In-Reply-To: <20180926103026.20640-1-zhiqiangx.zhao@intel.com> Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ctpclassification: CTP_NT x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiM2IxNDNhMGMtMmFjOS00NzVmLWJhNDktMjA0ODViNTY3YjI4IiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoiNXU1b3ZNREdkY0JEa1NDMHJncDRHSThjOGtRYzNjN2Q1NlhcLysybDUrdFk0aWt6WDNZXC9QYk1lK3FJYjlMcjg1In0= dlp-product: dlpe-windows dlp-version: 11.0.400.15 dlp-reaction: no-action x-originating-ip: [10.239.127.40] MIME-Version: 1.0 Subject: Re: [PATCH] BaseTools:Fix issue caused by 84a52d4d030185a44f2d8736142c6f0b19c6e9b1 X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Sep 2018 14:27:29 -0000 Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Reviewed-by: Liming Gao > -----Original Message----- > From: Zhao, ZhiqiangX > Sent: Wednesday, September 26, 2018 6:30 PM > To: edk2-devel@lists.01.org > Cc: Zhao, ZhiqiangX ; Gao, Liming ; Zhu, Yonghong ; > Feng, Bob C > Subject: [PATCH] BaseTools:Fix issue caused by 84a52d4d030185a44f2d873614= 2c6f0b19c6e9b1 >=20 > The commit 84a52d4d030185a44f2d8736142c6f0b19c6e9b1 will introduce > the new issue "Invalid offset value for Dynamic Vpd PCD". This patch > will fix the new issue, add 'DEFAULT' sku in to the AvailableSkuIdSet > variable. >=20 > Contributed-under: TianoCore Contribution Agreement 1.1 > Signed-off-by: ZhiqiangX Zhao > Cc: Liming Gao > Cc: Yonghong Zhu > Cc: Bob Feng > --- > BaseTools/Source/Python/Workspace/DscBuildData.py | 1 + > 1 file changed, 1 insertion(+) >=20 > diff --git a/BaseTools/Source/Python/Workspace/DscBuildData.py b/BaseTool= s/Source/Python/Workspace/DscBuildData.py > index ac0f0bee47..3ccfdbdb7b 100644 > --- a/BaseTools/Source/Python/Workspace/DscBuildData.py > +++ b/BaseTools/Source/Python/Workspace/DscBuildData.py > @@ -1388,6 +1388,7 @@ class DscBuildData(PlatformBuildClassObject): > Pcds =3D AllPcds > DefaultStoreMgr =3D DefaultStore(self.DefaultStores) > SkuIds =3D self.SkuIds > + self.SkuIdMgr.AvailableSkuIdSet.update({TAB_DEFAULT:0}) > DefaultStores =3D {storename for pcdobj in AllPcds.values() for = skuobj in pcdobj.SkuInfoList.values() for storename in > skuobj.DefaultStoreDict} >=20 > S_PcdSet =3D [] > -- > 2.14.1.windows.1