From 4325e142e96b44ad1b793300de9559c999cfe011 Mon Sep 17 00:00:00 2001 From: Hugo Villeneuve Date: Tue, 17 Jan 2023 17:08:25 -0500 Subject: [PATCH] Add custom rpi-config --- raspberrypi/recipes-bsp/bootfiles/rpi-config_git.bbappend | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 raspberrypi/recipes-bsp/bootfiles/rpi-config_git.bbappend diff --git a/raspberrypi/recipes-bsp/bootfiles/rpi-config_git.bbappend b/raspberrypi/recipes-bsp/bootfiles/rpi-config_git.bbappend new file mode 100644 index 0000000..b9f3a50 --- /dev/null +++ b/raspberrypi/recipes-bsp/bootfiles/rpi-config_git.bbappend @@ -0,0 +1,7 @@ +do_deploy:append() { + # Enable alsa audio support + sed -i 's/^#\(dtparam=audio=\).*/\1on/' $CONFIG + + # Force ALSA to use analogue output: + sed -i 's/^#\(hdmi_ignore_edid_audio=\).*/\11/' $CONFIG +} -- 2.20.1