From: Boris Krasnovskiy Date: Sat, 12 Oct 2024 23:57:16 +0000 (-0400) Subject: mvebu: fix default partition name X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=d21720fa90c89b571805ff73b223c38e23ad5bf6;p=openwrt%2Fstaging%2Fwigyori.git mvebu: fix default partition name The firmware partition name is specifc to ipTIME NAS1dual and should not be set globally. Fixes: #16148 Fixes: 6ff970bb51f5 ("mvebu: add support for ipTIME NAS1dual") Signed-off-by: Boris Krasnovskiy Link: https://github.com/openwrt/openwrt/pull/16690 Signed-off-by: Robert Marko --- diff --git a/target/linux/mvebu/cortexa9/base-files/lib/upgrade/platform.sh b/target/linux/mvebu/cortexa9/base-files/lib/upgrade/platform.sh index 049f8eeb8c..e2a82fe87c 100755 --- a/target/linux/mvebu/cortexa9/base-files/lib/upgrade/platform.sh +++ b/target/linux/mvebu/cortexa9/base-files/lib/upgrade/platform.sh @@ -6,7 +6,6 @@ RAMFS_COPY_BIN='fw_printenv fw_setenv seq strings' RAMFS_COPY_DATA='/etc/fw_env.config /var/lock/fw_printenv.lock' -PART_NAME=firmware REQUIRE_IMAGE_METADATA=1 platform_check_image() { @@ -74,6 +73,10 @@ platform_do_upgrade() { esac default_do_upgrade "$1" ;; + iptime,nas1dual) + PART_NAME=firmware + ;; + linksys,wrt1200ac|\ linksys,wrt1900ac-v1|\ linksys,wrt1900ac-v2|\