mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-12-02 12:30:31 +00:00
Meta: Add a new qextlinux target for the run.sh script
This allows testing the extlinux image with QEMU.
This commit is contained in:
parent
696e15fcd8
commit
9031ed0b84
Notes:
sideshowbarker
2024-07-18 08:41:30 +09:00
Author: https://github.com/gunnarbeutner Commit: https://github.com/SerenityOS/serenity/commit/9031ed0b84b Pull-request: https://github.com/SerenityOS/serenity/pull/8891 Reviewed-by: https://github.com/ADKaster Reviewed-by: https://github.com/dascandy
1 changed files with 4 additions and 2 deletions
|
@ -62,6 +62,8 @@ fi
|
|||
[ -z "$SERENITY_DISK_IMAGE" ] && {
|
||||
if [ "$SERENITY_RUN" = qgrub ]; then
|
||||
SERENITY_DISK_IMAGE="grub_disk_image"
|
||||
elif [ "$SERENITY_RUN" = qextlinux ]; then
|
||||
SERENITY_DISK_IMAGE="extlinux_disk_image"
|
||||
else
|
||||
SERENITY_DISK_IMAGE="_disk_image"
|
||||
fi
|
||||
|
@ -221,8 +223,8 @@ elif [ "$SERENITY_RUN" = "qtap" ]; then
|
|||
-initrd Kernel/Kernel \
|
||||
-append "${SERENITY_KERNEL_CMDLINE}"
|
||||
sudo ip tuntap del dev tap0 mode tap
|
||||
elif [ "$SERENITY_RUN" = "qgrub" ]; then
|
||||
# Meta/run.sh qgrub: qemu with grub
|
||||
elif [ "$SERENITY_RUN" = "qgrub" ] || [ "$SERENITY_RUN" = "qextlinux" ]; then
|
||||
# Meta/run.sh qgrub: qemu with grub/extlinux
|
||||
"$SERENITY_QEMU_BIN" \
|
||||
$SERENITY_COMMON_QEMU_ARGS \
|
||||
$SERENITY_VIRT_TECH_ARG \
|
||||
|
|
Loading…
Reference in a new issue