From 05acbe77536052f99a7de9df1643b926e723c460 Mon Sep 17 00:00:00 2001 From: deflax Date: Wed, 13 Nov 2024 15:44:29 +0200 Subject: [PATCH] disable local audio --- prepare-image.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/prepare-image.sh b/prepare-image.sh index e2915c7..c228317 100755 --- a/prepare-image.sh +++ b/prepare-image.sh @@ -37,6 +37,12 @@ ln -v -s /lib/systemd/system/firstboot.service /tmp/rpi-img/etc/systemd/system/m #enable systemd-time-wait-sync ln -v -s /lib/systemd/system/systemd-time-wait-sync.service /tmp/rpi-img/etc/systemd/system/sysinit.target.wants/systemd-time-wait-sync.service +# disable built-in audio +sed -i 's/^dtparam=audio=on/#&/' /tmp/rpi-img/boot/firmware/config.txt + +echo "] press enter to write the image +read + sync #cleanup