diff options
| author | David Bauer | 2023-11-21 13:10:09 +0000 |
|---|---|---|
| committer | David Bauer | 2023-11-27 06:54:00 +0000 |
| commit | 54e52fdacbbff30ec16fea60c2c7a13d4d3c31d3 (patch) | |
| tree | 8e02e251c4757888eefea3fdffb00dea28b3943d | |
| parent | 32098554d911f092b9779e4768bf6d819d850bb5 (diff) | |
| download | openwrt-54e52fdacbbff30ec16fea60c2c7a13d4d3c31d3.tar.gz | |
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 |