mirror of https://github.com/acidanthera/audk.git
Roll back the PCD PcdWinNtFirmwareVolume value from "..\\FV\\FV_RECOVERY.fd" to "..\\..\\FV\\FV_RECOVERY.fd" for avoiding the issue that secmain.exe run failure when the length of PATH environment exceed 1280 character.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@861 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
8cf5da75ce
commit
e7e79c584e
|
@ -210,7 +210,7 @@
|
||||||
<TokenSpaceGuidCName>gEfiEdkNt32PkgTokenSpaceGuid</TokenSpaceGuidCName>
|
<TokenSpaceGuidCName>gEfiEdkNt32PkgTokenSpaceGuid</TokenSpaceGuidCName>
|
||||||
<DatumType>VOID*</DatumType>
|
<DatumType>VOID*</DatumType>
|
||||||
<MaxDatumSize>52</MaxDatumSize>
|
<MaxDatumSize>52</MaxDatumSize>
|
||||||
<Value>L"..\\FV\\FV_RECOVERY.fd"</Value>
|
<Value>L"..\\..\\FV\\FV_RECOVERY.fd"</Value>
|
||||||
</PcdData>
|
</PcdData>
|
||||||
<PcdData ItemType="FIXED_AT_BUILD">
|
<PcdData ItemType="FIXED_AT_BUILD">
|
||||||
<C_Name>PcdWinNtBootMode</C_Name>
|
<C_Name>PcdWinNtBootMode</C_Name>
|
||||||
|
|
|
@ -11,6 +11,11 @@
|
||||||
|
|
||||||
@echo off
|
@echo off
|
||||||
|
|
||||||
|
:create_fd
|
||||||
|
if not exist Build\Debug\Fv mkdir Build\Debug\Fv
|
||||||
|
copy Build\Debug\Msft\Fv\FV_RECOVERY.fv /B + Build\Debug\Msft\Fv\NV_STORAGE.fv /B Build\Debug\Fv\Fv_Recovery.fd /B
|
||||||
|
|
||||||
|
:start_secmain
|
||||||
pushd .
|
pushd .
|
||||||
cd Build\DEBUG\MSFT\IA32
|
cd Build\DEBUG\MSFT\IA32
|
||||||
SecMain.exe
|
SecMain.exe
|
||||||
|
|
Loading…
Reference in New Issue