From 536acfb1ae1b727c4850027e68b45db90bff5f24 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Paul=20H=C3=A4nsch?= Date: Thu, 1 Nov 2018 16:49:29 +0100 Subject: [PATCH] Allow rpi-update to fail if bootloader is already present --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index ed769e6..6f810da 100644 --- a/Makefile +++ b/Makefile @@ -37,7 +37,7 @@ raspi_root/: raspi_root .FORCE chroot "$@" apt-get --yes install ${PACKAGES} chroot "$@" apt-get --yes --auto-remove purge chroot "$@" apt-get --yes --auto-remove upgrade - chroot "$@" rpi-update + chroot "$@" rpi-update || [ -f "$@/boot/bootcode.bin" ] sync chroot "$@" apt-get clean chroot "$@" rm /usr/local/sbin/invoke-rc.d -- 2.39.2