diff options
| author | Ada Christine <adachristine18@gmail.com> | 2021-12-17 16:06:06 +0000 |
|---|---|---|
| committer | Ada Christine <adachristine18@gmail.com> | 2021-12-17 16:06:06 +0000 |
| commit | d5f485a4f6801f58cbb2bc9d8e80c955c79ff044 (patch) | |
| tree | e49757ff0b076fe9f0088de92e5691d362e769a0 /image.sh | |
| parent | ec1233b4fcd61a8d1eccbf030cede36e9848e06c (diff) | |
R_AMD64_RELATIVE relocations implemented for EFI shim
Diffstat (limited to 'image.sh')
| -rwxr-xr-x | image.sh | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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 |
