(Customized Compression)If setting the EncapsulationType="Compress", Tool will transfer it to sectiontype="EFI_SECTION_COMPRESS" in <gensection>element of <genffsFile> task.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1529 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
@@ -273,7 +273,12 @@ public class FfsProcess {
|
||||
//
|
||||
ele = doc.createElement("gensection");
|
||||
if (type != null) {
|
||||
ele.setAttribute("sectiontype", "EFI_SECTION_GUID_DEFINED");
|
||||
if (type.equalsIgnoreCase("COMPRESS")) {
|
||||
ele.setAttribute("sectionType", "EFI_SECTION_COMPRESSION");
|
||||
}else {
|
||||
ele.setAttribute("sectiontype", "EFI_SECTION_GUID_DEFINED");
|
||||
}
|
||||
|
||||
} else {
|
||||
ele.setAttribute("sectiontype", sectType);
|
||||
}
|
||||
|
Reference in New Issue
Block a user