From: David Bauer Date: Tue, 21 Nov 2023 13:10:09 +0000 (+0100) Subject: rockchip: require image metadata X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=54e52fdacbbff30ec16fea60c2c7a13d4d3c31d3;p=openwrt%2Fstaging%2Fxback.git rockchip: require image metadata All devices in the rockchip target have appended image-metadata. Enforce the presence of this metadata to avoid flashing incomplete images. This is the de-facto standard for almost all OpenWrt targets. Signed-off-by: David Bauer --- diff --git a/target/linux/rockchip/armv8/base-files/lib/upgrade/platform.sh b/target/linux/rockchip/armv8/base-files/lib/upgrade/platform.sh index faed0667f1..49a969f410 100644 --- a/target/linux/rockchip/armv8/base-files/lib/upgrade/platform.sh +++ b/target/linux/rockchip/armv8/base-files/lib/upgrade/platform.sh @@ -1,3 +1,5 @@ +REQUIRE_IMAGE_METADATA=1 + platform_check_image() { local diskdev partdev diff