#! /bin/bash set -ex # builds the audio overlay _inside_ the image. modprobe i2c-dev || true modprobe snd-soc-simple-card || true modprobe snd-soc-tlv320aic31xx || true modprobe snd-soc-ics43432 || true dtc -@ -I dts -O dtb -o \ "/boot/firmware/overlays/toesaudio.dtbo" \ "/tmp/audio/toesaudio.dts"