From: Bdale Garbee Date: Sat, 26 Jul 2025 23:32:45 +0000 (-0600) Subject: need to deliver overlay elsewhere and copy in due to FAT filesystem X-Git-Url: https://git.gag.com/?a=commitdiff_plain;h=refs%2Fheads%2Fdebian;p=fw%2Fquantimotor need to deliver overlay elsewhere and copy in due to FAT filesystem --- diff --git a/debian/quantimotor.install b/debian/quantimotor.install index 9d4936d..5156daf 100644 --- a/debian/quantimotor.install +++ b/debian/quantimotor.install @@ -1,4 +1,4 @@ -devicetree/*.dtbo boot/firmware/overlays +devicetree/*.dtbo usr/share/quantimotor ui/* usr/share/quantimotor/ui enable_ads.py usr/share/quantimotor power-button.py usr/share/quantimotor diff --git a/debian/quantimotor.postinst b/debian/quantimotor.postinst index 65b6769..cb2ee76 100644 --- a/debian/quantimotor.postinst +++ b/debian/quantimotor.postinst @@ -4,6 +4,9 @@ set -e case "$1" in configure) + # copy in our devicetree overlay + cp /usr/share/quantimotor/*.dtbo /boot/firmware/overlays + # trigger raspi-firmware postinst hook so our content is included DEB_MAINT_PARAMS="configure" /etc/kernel/postinst.d/z50-raspi-firmware ;;