diff options
| author | Boris Krasnovskiy | 2024-10-12 23:57:16 +0000 |
|---|---|---|
| committer | Robert Marko | 2024-10-13 12:18:21 +0000 |
| commit | d21720fa90c89b571805ff73b223c38e23ad5bf6 (patch) | |
| tree | b11865ae65be45b3878f8c7a382fe63bb5a43c06 | |
| parent | 5d962dc79b589c5a60f950918b919023bb1cd2f7 (diff) | |
| download | openwrt-d21720fa90c89b571805ff73b223c38e23ad5bf6.tar.gz | |
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 <borkra@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/16690
Signed-off-by: Robert Marko <robimarko@gmail.com>
| -rwxr-xr-x | target/linux/mvebu/cortexa9/base-files/lib/upgrade/platform.sh | 5 |
1 files changed, 4 insertions, 1 deletions
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|\ |