summaryrefslogtreecommitdiff
path: root/Meta/run.sh
diff options
context:
space:
mode:
authorczapek1337 <czapek1337@gmail.com>2022-01-16 08:15:20 +0100
committerAndreas Kling <kling@serenityos.org>2022-02-14 11:52:07 +0100
commit64ff8af074a78de596d329f0de35d23b89233c29 (patch)
tree43efe3ca87151ba79aa4d61ccca9938c7521f3e4 /Meta/run.sh
parentc3e4123ed7ea8994bc03b24dfd5d8c98ae7e3b22 (diff)
downloadserenity-64ff8af074a78de596d329f0de35d23b89233c29.zip
Meta: Add support for the Limine bootloader
Diffstat (limited to 'Meta/run.sh')
-rwxr-xr-xMeta/run.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/Meta/run.sh b/Meta/run.sh
index 8d320e1747..1c395d35b5 100755
--- a/Meta/run.sh
+++ b/Meta/run.sh
@@ -89,6 +89,8 @@ fi
[ -z "$SERENITY_DISK_IMAGE" ] && {
if [ "$SERENITY_RUN" = q35grub ] || [ "$SERENITY_RUN" = qgrub ]; then
SERENITY_DISK_IMAGE="grub_disk_image"
+ elif [ "$SERENITY_RUN" = limine ]; then
+ SERENITY_DISK_IMAGE="limine_disk_image"
elif [ "$SERENITY_RUN" = qextlinux ]; then
SERENITY_DISK_IMAGE="extlinux_disk_image"
else
@@ -374,6 +376,10 @@ elif [ "$SERENITY_RUN" = "q35grub" ]; then
$SERENITY_VIRT_TECH_ARG \
-netdev user,id=breh,hostfwd=tcp:127.0.0.1:8888-10.0.2.15:8888,hostfwd=tcp:127.0.0.1:8823-10.0.2.15:23 \
-device $SERENITY_ETHERNET_DEVICE_TYPE,netdev=breh
+elif [ "$SERENITY_RUN" = "limine" ]; then
+ "$SERENITY_QEMU_BIN" \
+ $SERENITY_COMMON_QEMU_ARGS \
+ $SERENITY_VIRT_TECH_ARG
elif [ "$SERENITY_RUN" = "ci" ]; then
# Meta/run.sh ci: qemu in text mode
echo "Running QEMU in CI"