From c0ee7b90f69091a64c4766c3df2051e951dabfef Mon Sep 17 00:00:00 2001 From: Viktor <35473052+viktorxda@users.noreply.github.com> Date: Tue, 9 Jan 2024 18:17:55 +0100 Subject: [PATCH] [no ci] Overlay: add warning for sysupgrade on nand flash --- general/overlay/usr/sbin/sysupgrade | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/general/overlay/usr/sbin/sysupgrade b/general/overlay/usr/sbin/sysupgrade index 9a340576..a25c970e 100755 --- a/general/overlay/usr/sbin/sysupgrade +++ b/general/overlay/usr/sbin/sysupgrade @@ -1,9 +1,9 @@ #!/bin/sh # -# OpenIPC.org | v.20231230 +# OpenIPC.org | 2024 # -scr_version=1.0.28 +scr_version=1.0.29 args=" $@" @@ -83,6 +83,8 @@ do_wipe_overlay() { } download_firmware() { + [ "$flash_type" = "nand" ] && echo_c 31 "\nNote: the updater uses the NOR package for updating NAND" + echo_c 33 "\nFirmware" [ "$branch_dev" = "1" ] && branch="dev" || branch="latest" osr=$(get_system_build)