From 6d414c987d56c024c6a82a3acc79b5a8d393e3bc Mon Sep 17 00:00:00 2001 From: Bdale Garbee Date: Sun, 5 Jan 2025 16:55:59 -0700 Subject: [PATCH] make postinst fragment more brutal about always putting our dtb in place --- z99-quantimotor | 18 +----------------- 1 file changed, 1 insertion(+), 17 deletions(-) diff --git a/z99-quantimotor b/z99-quantimotor index e650cb9..3fefa02 100755 --- a/z99-quantimotor +++ b/z99-quantimotor @@ -1,22 +1,6 @@ #!/bin/sh -# force QuantiMotor's dtb to be /boot/firmware/bcm2837-rpi-zero-2-w.dtb - -set -e - -# Play nice when run under debconf. -exec &2 - -eval set -- "$DEB_MAINT_PARAMS" - -# Only run on configure and remove to avoid unnecessary work. -case "$1" in - configure|remove) - ;; - *) - exit 0 - ;; -esac +# force /boot/firmware/bcm2837-rpi-zero-2-w.dtb to be the QuantiMotor dtb cp /usr/share/quantimotor/bcm2837-rpi-zero-2-w.dtb \ /boot/firmware/bcm2837-rpi-zero-2-w.dtb -- 2.47.2