summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJelle Raaijmakers <jelle@gmta.nl>2023-03-10 20:12:24 +0100
committerJelle Raaijmakers <jelle@gmta.nl>2023-03-25 21:27:03 +0100
commitdd0a25de4d7aca407a4118e0d9f6fad3f94da177 (patch)
treec2a06efd66a75c0745cc674b47ef950af1f442e1
parentdd8fa73da179d6a805ecdae62ff87e8992d43821 (diff)
downloadserenity-dd0a25de4d7aca407a4118e0d9f6fad3f94da177.zip
Meta: Use more aptly named variable for PC speaker configuration
-rwxr-xr-xMeta/run.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/Meta/run.sh b/Meta/run.sh
index b3a2209754..cd873ecd73 100755
--- a/Meta/run.sh
+++ b/Meta/run.sh
@@ -172,9 +172,9 @@ else
fi
if [ "$installed_major_version" -eq 5 ] && [ "$installed_minor_version" -eq 0 ]; then
- SERENITY_AUDIO_HW="-soundhw pcspk"
+ SERENITY_AUDIO_PC_SPEAKER="-soundhw pcspk"
else
- SERENITY_AUDIO_HW="-machine pcspk-audiodev=snd0"
+ SERENITY_AUDIO_PC_SPEAKER="-machine pcspk-audiodev=snd0"
fi
SERENITY_SCREENS="${SERENITY_SCREENS:-1}"
@@ -295,7 +295,7 @@ if [ -z "$SERENITY_MACHINE" ]; then
-device isa-debugcon,chardev=stdout
-device virtio-rng-pci
$SERENITY_AUDIO_BACKEND
- $SERENITY_AUDIO_HW
+ $SERENITY_AUDIO_PC_SPEAKER
-device ac97,audiodev=snd0
-device pci-bridge,chassis_nr=1,id=bridge1 -device $SERENITY_ETHERNET_DEVICE_TYPE,bus=bridge1
-device i82801b11-bridge,bus=bridge1,id=bridge2 -device sdhci-pci,bus=bridge2
@@ -411,7 +411,7 @@ $SERENITY_EXTRA_QEMU_ARGS
-device isa-debugcon,chardev=stdout
-device virtio-rng-pci
$SERENITY_AUDIO_BACKEND
-$SERENITY_AUDIO_HW
+$SERENITY_AUDIO_PC_SPEAKER
$SERENITY_BOOT_DRIVE
"