Meta: Rename SERINITY_NVME_ENABLE variable to SERENITY_NVME_ENABLE
This commit is contained in:
parent
d1e7b69004
commit
2bb32a87f9
Notes:
sideshowbarker
2024-07-17 21:48:59 +09:00
Author: https://github.com/tomuta Commit: https://github.com/SerenityOS/serenity/commit/2bb32a87f9b Pull-request: https://github.com/SerenityOS/serenity/pull/11543
1 changed files with 2 additions and 2 deletions
|
@ -190,10 +190,10 @@ else
|
|||
fi
|
||||
|
||||
# Check if SERENITY_NVME_ENABLE is unset
|
||||
if [ -z ${SERINITY_NVME_ENABLE+x} ]; then
|
||||
if [ -z ${SERENITY_NVME_ENABLE+x} ]; then
|
||||
SERENITY_BOOT_DRIVE="-drive file=${SERENITY_DISK_IMAGE},format=raw,index=0,media=disk"
|
||||
else
|
||||
if [ "$SERINITY_NVME_ENABLE" -eq 1 ]; then
|
||||
if [ "$SERENITY_NVME_ENABLE" -eq 1 ]; then
|
||||
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"
|
||||
|
|
Loading…
Add table
Reference in a new issue