]> git.gag.com Git - fw/quantimotor/commitdiff
need to deliver overlay elsewhere and copy in due to FAT filesystem debian
authorBdale Garbee <bdale@gag.com>
Sat, 26 Jul 2025 23:32:45 +0000 (17:32 -0600)
committerBdale Garbee <bdale@gag.com>
Sat, 26 Jul 2025 23:32:45 +0000 (17:32 -0600)
debian/quantimotor.install
debian/quantimotor.postinst

index 9d4936d0907d2e5a8d61225821d50763171936f2..5156dafcb699b66ba4057af35625159f0ecdd30f 100644 (file)
@@ -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
index 65b676924823b0a448567c5649fd5e622d1166e2..cb2ee76e1f638298701cad0dd219cd22b72dc704 100644 (file)
@@ -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
        ;;