Package: u-boot-sunxi
Version: 2023.07+dfsg-1
Severity: normal
Tags: patch

Hi Vagrant,

Following commit 4f2f06b8 ("Drop support for using a FIT generator..."),
the u-boot-install-sunxi script no longer uses mkimage, so the check for
it can be safely removed, as in the suggested patch below.

(This is one of the small improvements I mentioned previously in
bug#979688 and meant to file separately.)

Thanks very much for looking after U-Boot for Debian all this time.

Best wishes,
Harold.


diff --git a/debian/bin/u-boot-install-sunxi
b/debian/bin/u-boot-install-sunxi
index a10fda96ed..b3af2c0b80 100755
--- a/debian/bin/u-boot-install-sunxi
+++ b/debian/bin/u-boot-install-sunxi
@@ -65,11 +65,6 @@ case "$1" in
        exit 1;;
 esac

-if [ -z "$(which mkimage)" ]; then
-       echo >&2 "$0: mkimage: command not found. Please install u-boot-tools."
-       exit 1
-fi
-
 DEV="$1"
 if [ -z "$DEV" ] || ! shift || [ -n "$*" ]; then
     echo >&2 "Usage: $0 /dev/your-sd-or-mmc-or-image"

Reply via email to