From 5e9a6d08d298502907e72e854e2a0514b3637527 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Petr=20=C5=A0tetiar?= Date: Tue, 16 Jul 2019 10:23:18 +0200 Subject: [PATCH] imx6: apalis: fix sysupgrade paths MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit We can't use $board_name in sysupgrade paths for kernel and rootfs as we currently generate one image which could be used on two different base boards. Signed-off-by: Petr Å tetiar --- target/linux/imx6/base-files/lib/upgrade/platform.sh | 7 ++----- 1 file 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 } -- 2.30.2