mirror of https://github.com/acidanthera/audk.git
OvmfPkg/PlatformCI: dummy grub.efi for AmdSev
Building grub.efi for AmdSev is difficult because it depends on patches not yet merged to upstream grub. So shortcut the grub build by simply creating an empty grub.efi file. That allows to at least build-test the AmdSev variant. Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Acked-by: Jiewen Yao <Jiewen.yao@intel.com> Acked-by: Ard Biesheuvel <ardb@kernel.org> Reviewed-by: Dov Murik <dovmurik@linux.ibm.com>
This commit is contained in:
parent
8b8ae609a7
commit
2722856a87
|
@ -6,6 +6,7 @@
|
|||
##
|
||||
import os
|
||||
import sys
|
||||
import subprocess
|
||||
|
||||
sys.path.append(os.path.dirname(os.path.abspath(__file__)))
|
||||
from PlatformBuildLib import SettingsManager
|
||||
|
@ -35,3 +36,7 @@ class CommonPlatform():
|
|||
|
||||
import PlatformBuildLib
|
||||
PlatformBuildLib.CommonPlatform = CommonPlatform
|
||||
|
||||
# hack alert -- create dummy grub.efi
|
||||
subprocess.run(['touch', 'OvmfPkg/AmdSev/Grub/grub.efi'])
|
||||
subprocess.run(['ls', '-l', '--sort=time', 'OvmfPkg/AmdSev/Grub'])
|
||||
|
|
Loading…
Reference in New Issue