mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 04:57:44 +00:00
Meta: Add support for the Limine bootloader
This commit is contained in:
parent
c3e4123ed7
commit
64ff8af074
5 changed files with 140 additions and 5 deletions
|
@ -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"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue