aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/apm821xx/base-files/lib/upgrade/platform.sh
diff options
context:
space:
mode:
authorChristian Lamparter <chunkeey@gmail.com>2017-12-01 22:41:11 +0100
committerJohn Crispin <john@phrozen.org>2017-12-14 09:29:30 +0100
commitcb02a376b360d01d70a8161e22f5491042295bcd (patch)
tree0fc129d01731d65f02aef5b54da66d58c7c60d99 /target/linux/apm821xx/base-files/lib/upgrade/platform.sh
parent06f8b4ddbd6929f425d4379352e290c182f82c29 (diff)
downloadupstream-cb02a376b360d01d70a8161e22f5491042295bcd.tar.gz
upstream-cb02a376b360d01d70a8161e22f5491042295bcd.tar.bz2
upstream-cb02a376b360d01d70a8161e22f5491042295bcd.zip
apm821xx: use x86's upgrade scripts for MyBook Live
Advantages: - preserves existing partition layout. On the hard-drive. Only the boot and rootfs partition will be overwritten. Disadvantages: - The upgrade process takes much longer to run. from 2-3 seconds to 15-25 seconds. Please note that sysupgrade will refuse to upgrade, if the existing installation has an incompatible partition layout. Future changes to the bootfs and/or rootfs partition size will likely cause breakage to the sysupgrade procedure. In these cases, the ext4-rootfs.img.gz has to be written manually onto the disk. Please don't forget to backup your configuration in this cases. Note2: This patch requires "base-files: upgrade: make get_partitions() endian agnostic" Note3: If your current installation does not host the two changes, sysupgrading will wipe the existing partition layout. Don't forget to backup your data! Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
Diffstat (limited to 'target/linux/apm821xx/base-files/lib/upgrade/platform.sh')
-rwxr-xr-xtarget/linux/apm821xx/base-files/lib/upgrade/platform.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/apm821xx/base-files/lib/upgrade/platform.sh b/target/linux/apm821xx/base-files/lib/upgrade/platform.sh
index 55f8ffa75d..8c716bf44e 100755
--- a/target/linux/apm821xx/base-files/lib/upgrade/platform.sh
+++ b/target/linux/apm821xx/base-files/lib/upgrade/platform.sh
@@ -9,7 +9,7 @@ platform_check_image() {
case "$board" in
mbl)
- mbl_do_platform_check $board "$1"
+ mbl_do_platform_check "$1"
return $?;
;;