From f3d8d16e1a1e3e96caa95b475e9e53a457059ad5 Mon Sep 17 00:00:00 2001 From: deflax Date: Wed, 13 Nov 2024 16:03:02 +0200 Subject: [PATCH] disable local audio --- prepare-image.sh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/prepare-image.sh b/prepare-image.sh index daa2efe..271974c 100755 --- a/prepare-image.sh +++ b/prepare-image.sh @@ -38,7 +38,7 @@ ln -v -s /lib/systemd/system/firstboot.service /tmp/rpi-img/etc/systemd/system/m 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 +sed -i 's/^dtparam=audio=on/#&/' /tmp/rpi-img/boot/config.txt echo "] press enter to write the image" read @@ -52,5 +52,4 @@ umount /tmp/rpi-img rmdir -v /tmp/rpi-img #write image -xz -v -T 0 -z src.img -mv -v src.img.xz vcpi.img.xz +mv -v src.img vcpi.img