From: Bdale Garbee Date: Mon, 17 Mar 2025 00:44:19 +0000 (-0600) Subject: work around dpkg can't link files in /boot/firmware before overwriting them X-Git-Url: https://git.gag.com/?a=commitdiff_plain;h=refs%2Fheads%2Fdtbo;p=fw%2Fquantimotor work around dpkg can't link files in /boot/firmware before overwriting them --- diff --git a/debian/quantimotor.install b/debian/quantimotor.install index a01e6a5..10e1030 100644 --- a/debian/quantimotor.install +++ b/debian/quantimotor.install @@ -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 index 0000000..4ac7b81 --- /dev/null +++ b/debian/quantimotor.postinst @@ -0,0 +1,11 @@ +#!/bin/sh + +set -e + +cp /usr/share/quantimotor/overlays/* /boot/firmware/overlays/ +sync -f /boot/firmware || true + +#DEBHELPER# + +exit 0 +