summaryrefslogtreecommitdiff
path: root/image.sh
diff options
context:
space:
mode:
Diffstat (limited to 'image.sh')
-rwxr-xr-ximage.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/image.sh b/image.sh
index e15f4ca..7d32df4 100755
--- a/image.sh
+++ b/image.sh
@@ -9,7 +9,9 @@ if [[ ! -f ${imagefile} ]]; then
mformat -i uefi.img -f1440 ::
fi
-mcopy -i ${imagefile} -Do ${loaderfile} ::
+mmd -i ${imagefile} -Do ::EFI
+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