From 962371a84e312afcf4ca30975a1d9613ee654a38 Mon Sep 17 00:00:00 2001 From: Bdale Garbee Date: Sat, 26 Jul 2025 17:32:45 -0600 Subject: [PATCH] need to deliver overlay elsewhere and copy in due to FAT filesystem --- debian/quantimotor.install | 2 +- debian/quantimotor.postinst | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) 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 ;; -- 2.47.2