ramips: enforce image metadata verification
authorMathias Kresin <dev@kresin.me>
Thu, 29 Nov 2018 23:03:19 +0000 (00:03 +0100)
committerJo-Philipp Wich <jo@mein.io>
Tue, 18 Dec 2018 16:48:26 +0000 (17:48 +0100)
Now that we got rid of all legacy images, we can enforce image metadata
verification.

Signed-off-by: Mathias Kresin <dev@kresin.me>
(backported from 1a5df6add78228bffa06972797316df6d71ce7d2)

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)