From 54e52fdacbbff30ec16fea60c2c7a13d4d3c31d3 Mon Sep 17 00:00:00 2001 From: David Bauer Date: Tue, 21 Nov 2023 14:10:09 +0100 Subject: [PATCH] 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 --- target/linux/rockchip/armv8/base-files/lib/upgrade/platform.sh | 2 ++ 1 file changed, 2 insertions(+) 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 -- 2.30.2