From 76d475117dfa86d54cea393f00779301b318ff88 Mon Sep 17 00:00:00 2001
From: Hess Chen <hesheng.chen@intel.com>
Date: Fri, 19 Sep 2014 02:04:08 +0000
Subject: BaseTools/Upt: Fix several bugs
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

1. Fix a bug of packaging a full path file in zip at Linux.
2. Fix a format error of generating Hob/Event/BootMode information.
3. Fix a bug of generating additional “GUID” subtype for “UNDEFINED” guid.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Hess Chen <hesheng.chen@intel.com>
Reviewed-by: Yingke Liu <yingke.d.liu@Intel.com>

git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16149 6f19259b-4bc3-4df7-8a09-765794883524
---
 BaseTools/Source/Python/UPT/Core/DistributionPackageClass.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'BaseTools/Source/Python/UPT/Core')

diff --git a/BaseTools/Source/Python/UPT/Core/DistributionPackageClass.py b/BaseTools/Source/Python/UPT/Core/DistributionPackageClass.py
index 6db13b06b6..bfe6dcc70f 100644
--- a/BaseTools/Source/Python/UPT/Core/DistributionPackageClass.py
+++ b/BaseTools/Source/Python/UPT/Core/DistributionPackageClass.py
@@ -212,7 +212,7 @@ class DistributionPackageClass(object):
             #
             for MiscFileObj in Package.GetMiscFileList():
                 for FileObj in MiscFileObj.GetFileList():
-                    MiscFileFullPath = os.path.normpath(os.path.join(os.path.dirname(FullPath), FileObj.GetURI()))
+                    MiscFileFullPath = os.path.normpath(os.path.join(PackagePath, FileObj.GetURI()))
                     if MiscFileFullPath not in self.FileList:
                         self.FileList.append(MiscFileFullPath)
             
-- 
cgit v1.2.3