From d5f485a4f6801f58cbb2bc9d8e80c955c79ff044 Mon Sep 17 00:00:00 2001 From: Ada Christine Date: Fri, 17 Dec 2021 16:06:06 +0000 Subject: R_AMD64_RELATIVE relocations implemented for EFI shim --- image.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'image.sh') diff --git a/image.sh b/image.sh index 7d32df4..a14f635 100755 --- a/image.sh +++ b/image.sh @@ -2,6 +2,7 @@ imagefile=uefi.img loaderfile=loader/loader.efi +shimfile=shim/efi.os kernelfile=kernel/kernel.os if [[ ! -f ${imagefile} ]]; then @@ -14,5 +15,6 @@ mmd -i ${imagefile} -Do ::EFI/BOOT mcopy -i ${imagefile} -Do ${loaderfile} ::EFI/BOOT/BOOTX64.EFI mmd -i ${imagefile} -Do ::adasoft mmd -i ${imagefile} -Do ::adasoft/sophia -mcopy -i ${imagefile} ${kernelfile} -Do ::adasoft/sophia +mcopy -i ${imagefile} -Do ${shimfile} -Do ::adasoft/sophia +mcopy -i ${imagefile} -Do ${kernelfile} -Do ::adasoft/sophia -- cgit v1.3.1-1-g115d