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>
(cherry picked from commit 54e52fdacb)
This commit is contained in:
David Bauer 2023-11-21 14:10:09 +01:00 committed by Tianling Shen
parent a8f4f71d42
commit 238a4dcc0b
No known key found for this signature in database
GPG Key ID: 6850B6345C862176

View File

@ -1,3 +1,5 @@
REQUIRE_IMAGE_METADATA=1
platform_check_image() {
local diskdev partdev diff