mediatek: fix platform_copy_config()
authorDaniel Golle <daniel@makrotopia.org>
Thu, 18 Jul 2024 10:56:13 +0000 (11:56 +0100)
committerDaniel Golle <daniel@makrotopia.org>
Thu, 18 Jul 2024 12:05:46 +0000 (13:05 +0100)
commitb39375ae4cab359553e681fc3aacdf516cacf5ea
treeec1d4eaaeae7f75793a53132b6ff3cd8dcc6f731
parentde2df0f2c5b767b74c07e450c408ffc35a657aee
mediatek: fix platform_copy_config()

Also use env variables exported by export_fitblk_rootdev() in
platform_copy_config().

Fixes: 4448d6325f ("mediatek: make use of common uImage.FIT upgrade functions")
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
target/linux/mediatek/filogic/base-files/lib/upgrade/platform.sh
target/linux/mediatek/mt7622/base-files/lib/upgrade/platform.sh