]> git.gag.com Git - fw/quantimotor/commitdiff
work around dpkg can't link files in /boot/firmware before overwriting them dtbo origin/dtbo
authorBdale Garbee <bdale@gag.com>
Mon, 17 Mar 2025 00:44:19 +0000 (18:44 -0600)
committerBdale Garbee <bdale@gag.com>
Mon, 17 Mar 2025 00:44:19 +0000 (18:44 -0600)
debian/quantimotor.install
debian/quantimotor.postinst [new file with mode: 0644]

index a01e6a5d44617f4979e7baef68bb5bf64f058d2a..10e1030f96279aec21a37f63b3675c769609386e 100644 (file)
@@ -1,3 +1,3 @@
-devicetree/*.dtbo boot/firmware/overlays
+devicetree/*.dtbo usr/share/quantimotor/overlays
 raspi-extra-cmdline etc/default
 raspi-firmware-custom etc/default
diff --git a/debian/quantimotor.postinst b/debian/quantimotor.postinst
new file mode 100644 (file)
index 0000000..4ac7b81
--- /dev/null
@@ -0,0 +1,11 @@
+#!/bin/sh
+
+set -e
+
+cp /usr/share/quantimotor/overlays/* /boot/firmware/overlays/
+sync -f /boot/firmware || true
+
+#DEBHELPER#
+
+exit 0
+