rockchip: require image metadata
authorDavid Bauer <mail@david-bauer.net>
Tue, 21 Nov 2023 13:10:09 +0000 (14:10 +0100)
committerDavid Bauer <mail@david-bauer.net>
Mon, 27 Nov 2023 06:54:00 +0000 (07:54 +0100)
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>
target/linux/rockchip/armv8/base-files/lib/upgrade/platform.sh

index faed0667f1821657386739ad88fa4399811aefa8..49a969f41047bf463d2eba006d8f402fd78033c9 100644 (file)
@@ -1,3 +1,5 @@
+REQUIRE_IMAGE_METADATA=1
+
 platform_check_image() {
        local diskdev partdev diff