ramips: enforce image metadata verification
authorMathias Kresin <dev@kresin.me>
Thu, 29 Nov 2018 23:03:19 +0000 (00:03 +0100)
committerMathias Kresin <dev@kresin.me>
Wed, 12 Dec 2018 10:01:59 +0000 (11:01 +0100)
Now that we got rid of all legacy images, we can enforce image metadata
verification.

Signed-off-by: Mathias Kresin <dev@kresin.me>
target/linux/ramips/base-files/lib/upgrade/platform.sh

index f14f847a5bae343400bee4597daae11084755367..783bd3df744d1def41c2f3f6bb96f6c02224e36e 100755 (executable)
@@ -3,6 +3,7 @@
 #
 
 PART_NAME=firmware
+REQUIRE_IMAGE_METADATA=1
 
 platform_check_image() {
        local board=$(board_name)