summaryrefslogtreecommitdiff
path: root/image.sh
diff options
context:
space:
mode:
authorAda Christine <adachristine18@gmail.com>2023-05-13 10:59:24 +0000
committerAda Christine <adachristine18@gmail.com>2023-05-13 10:59:24 +0000
commit11239640cba1d187f0b09c4bc3c3e0b76d03bd0c (patch)
treed22dab2fd94564d3a24f190082b2406eaae0e04d /image.sh
parent838f39324a1f305562addce6d807400522d9c469 (diff)
no more image.sh, use qemu fat emulation
Diffstat (limited to 'image.sh')
-rwxr-xr-ximage.sh20
1 files changed, 0 insertions, 20 deletions
diff --git a/image.sh b/image.sh
deleted file mode 100755
index 267f84a..0000000
--- a/image.sh
+++ /dev/null
@@ -1,20 +0,0 @@
-#!/usr/bin/env bash
-
-imagefile=uefi.img
-loaderfile=loader/loader.efi
-shimfile=kc/boot/efi.os
-kernelfile=kc/core/kernel.os
-
-if [[ ! -f ${imagefile} ]]; then
- dd if=/dev/zero of=${imagefile} bs=1024 count=1440
- mformat -i uefi.img -f1440 ::
-fi
-
-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} -Do ${shimfile} -Do ::adasoft/sophia
-mcopy -i ${imagefile} -Do ${kernelfile} -Do ::adasoft/sophia
-