Reviewed-by: James Lu Thanks, James -----Original Message----- From: Guo, Gua Sent: Monday, March 4, 2024 3:29 PM To: devel@edk2.groups.io Cc: Guo, Gua ; Dong, Guo ; Rhodes, Sean ; Lu, James Subject: [PATCH v1] UefiPayloadPkg: UPL arch backward support ELF From: Gua Guo > After 11ad164bcea6b0ed3628d merge, ELF format API won't meet backward requirement. Cc: Guo Dong > Cc: Sean Rhodes > Reviewed-by: James Lu > Cc: Gua Guo > Signed-off-by: Gua Guo > --- UefiPayloadPkg/UniversalPayloadBuild.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/UefiPayloadPkg/UniversalPayloadBuild.py b/UefiPayloadPkg/UniversalPayloadBuild.py index 49de882798..0423e6da17 100644 --- a/UefiPayloadPkg/UniversalPayloadBuild.py +++ b/UefiPayloadPkg/UniversalPayloadBuild.py @@ -348,7 +348,7 @@ def main(): if os.path.exists (SectionFvFile) == False: continue if (args.Fit == False): - status = ReplaceFv (UniversalPayloadBinary, SectionFvFile, SectionName) + status = ReplaceFv (UniversalPayloadBinary, SectionFvFile, SectionName, args.Arch) else: status = ReplaceFv (UniversalPayloadBinary, SectionFvFile, SectionName.replace ("_", "-"), args.Arch) if status != 0: -- 2.39.2.windows.1 -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#116306): https://edk2.groups.io/g/devel/message/116306 Mute This Topic: https://groups.io/mt/104718144/7686176 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io] -=-=-=-=-=-=-=-=-=-=-=-