summaryrefslogtreecommitdiff
path: root/Meta/build-image-limine.sh
diff options
context:
space:
mode:
authorczapek1337 <czapek1337@gmail.com>2022-01-16 08:49:26 +0100
committerAndreas Kling <kling@serenityos.org>2022-02-14 11:52:07 +0100
commit77f25e44ed33315f7dd9269a028b0d1e940d2bbb (patch)
tree46427ee663905b28c82871670bf777ca4fb7c276 /Meta/build-image-limine.sh
parent64ff8af074a78de596d329f0de35d23b89233c29 (diff)
downloadserenity-77f25e44ed33315f7dd9269a028b0d1e940d2bbb.zip
Meta: Include the EFI executable in Limine image
Diffstat (limited to 'Meta/build-image-limine.sh')
-rwxr-xr-xMeta/build-image-limine.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/Meta/build-image-limine.sh b/Meta/build-image-limine.sh
index a465a2c52d..9804a9b126 100755
--- a/Meta/build-image-limine.sh
+++ b/Meta/build-image-limine.sh
@@ -85,7 +85,9 @@ script_path=$(cd -P -- "$(dirname -- "$0")" && pwd -P)
"$script_path/build-root-filesystem.sh"
echo "installing limine"
+mkdir -p esp/EFI/BOOT
cp limine/build/bin/limine.sys esp
+cp limine/build/bin/BOOTX64.EFI esp/EFI/BOOT
cp "$SERENITY_SOURCE_DIR"/Meta/limine.cfg esp
limine/build/bin/limine-install "${dev}"
echo "done"