From 9031ed0b84bc2bd4aed3913307bbad4ed6d82d73 Mon Sep 17 00:00:00 2001 From: Gunnar Beutner Date: Tue, 20 Jul 2021 03:48:58 +0200 Subject: [PATCH] Meta: Add a new qextlinux target for the run.sh script This allows testing the extlinux image with QEMU. --- Meta/run.sh | 6 ++++-- 1 file 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 \