summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIdan Horowitz <idan.horowitz@gmail.com>2022-01-28 15:37:35 +0200
committerIdan Horowitz <idan.horowitz@gmail.com>2022-01-28 19:05:52 +0200
commitfcdd56633bdbfa6ffa0b75df864705d552223abf (patch)
treebe43e7f2c9e97c484b02b15bded460f5bec794a6
parentbd5662d6f23395a8a91ecff026c04d9a0e8ea41f (diff)
downloadserenity-fcdd56633bdbfa6ffa0b75df864705d552223abf.zip
Meta: Set correct boot drive when running with SERENITY_NVME_ENABLE
-rwxr-xr-xMeta/run.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/Meta/run.sh b/Meta/run.sh
index f02a7e05bc..9ac8c97b4c 100755
--- a/Meta/run.sh
+++ b/Meta/run.sh
@@ -201,6 +201,7 @@ else
SERENITY_BOOT_DRIVE="-drive file=${SERENITY_DISK_IMAGE},format=raw,index=0,media=disk,if=none,id=disk"
SERENITY_BOOT_DRIVE="$SERENITY_BOOT_DRIVE -device i82801b11-bridge,id=bridge4 -device sdhci-pci,bus=bridge4"
SERENITY_BOOT_DRIVE="$SERENITY_BOOT_DRIVE -device nvme,serial=deadbeef,drive=disk,bus=bridge4"
+ SERENITY_KERNEL_CMDLINE="$SERENITY_KERNEL_CMDLINE root=/dev/nvme0n1"
else
SERENITY_BOOT_DRIVE="-drive file=${SERENITY_DISK_IMAGE},format=raw,index=0,media=disk"
fi