diff options
author | David Bauer <mail@david-bauer.net> | 2023-11-21 14:10:09 +0100 |
---|---|---|
committer | David Bauer <mail@david-bauer.net> | 2023-11-27 07:54:00 +0100 |
commit | 54e52fdacbbff30ec16fea60c2c7a13d4d3c31d3 (patch) | |
tree | 8e02e251c4757888eefea3fdffb00dea28b3943d | |
parent | 32098554d911f092b9779e4768bf6d819d850bb5 (diff) |
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 <mail@david-bauer.net>
-rw-r--r-- | target/linux/rockchip/armv8/base-files/lib/upgrade/platform.sh | 2 |
1 files changed, 2 insertions, 0 deletions
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 |