From: Bdale Garbee Date: Sun, 5 Jan 2025 23:55:59 +0000 (-0700) Subject: make postinst fragment more brutal about always putting our dtb in place X-Git-Url: https://git.gag.com/?a=commitdiff_plain;h=6d414c987d56c024c6a82a3acc79b5a8d393e3bc;p=fw%2Fquantimotor make postinst fragment more brutal about always putting our dtb in place --- 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