aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux')
-rwxr-xr-xtarget/linux/imx6/base-files/lib/upgrade/platform.sh7
1 files changed, 2 insertions, 5 deletions
diff --git a/target/linux/imx6/base-files/lib/upgrade/platform.sh b/target/linux/imx6/base-files/lib/upgrade/platform.sh
index c3be9d5424..aecdf6c4b1 100755
--- a/target/linux/imx6/base-files/lib/upgrade/platform.sh
+++ b/target/linux/imx6/base-files/lib/upgrade/platform.sh
@@ -23,12 +23,9 @@ apalis_copy_config() {
}
apalis_do_upgrade() {
- local board_name=$(board_name)
- board_name=${board_name/,/_}
-
apalis_mount_boot
- get_image "$1" | tar Oxf - sysupgrade-${board_name}/kernel > /boot/uImage
- get_image "$1" | tar Oxf - sysupgrade-${board_name}/root > $(rootpart_from_uuid)
+ get_image "$1" | tar Oxf - sysupgrade-apalis/kernel > /boot/uImage
+ get_image "$1" | tar Oxf - sysupgrade-apalis/root > $(rootpart_from_uuid)
sync
umount /boot
}