diff options
author | Gunnar Beutner <gbeutner@serenityos.org> | 2021-07-20 03:48:58 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-07-20 15:12:19 +0200 |
commit | 9031ed0b84bc2bd4aed3913307bbad4ed6d82d73 (patch) | |
tree | 3da4102fcd1e324360045fd472cc2c0ccb88078a /Meta/run.sh | |
parent | 696e15fcd899fd88b389a5f47bd69460f871f3a1 (diff) | |
download | serenity-9031ed0b84bc2bd4aed3913307bbad4ed6d82d73.zip |
Meta: Add a new qextlinux target for the run.sh script
This allows testing the extlinux image with QEMU.
Diffstat (limited to 'Meta/run.sh')
-rwxr-xr-x | Meta/run.sh | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/Meta/run.sh b/Meta/run.sh index a452009e5d..565605743f 100755 --- a/Meta/run.sh +++ b/Meta/run.sh @@ -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 \ |