aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux
diff options
context:
space:
mode:
authorMathias Kresin <dev@kresin.me>2018-11-30 00:03:19 +0100
committerMathias Kresin <dev@kresin.me>2018-12-12 11:01:59 +0100
commit1a5df6add78228bffa06972797316df6d71ce7d2 (patch)
treede6b82c400aca0618b879858fc30e4c344557e0f /target/linux
parent8e40fbff0b414a3920eaa92be62152c708c1c1c5 (diff)
downloadupstream-1a5df6add78228bffa06972797316df6d71ce7d2.tar.gz
upstream-1a5df6add78228bffa06972797316df6d71ce7d2.tar.bz2
upstream-1a5df6add78228bffa06972797316df6d71ce7d2.zip
ramips: enforce image metadata verification
Now that we got rid of all legacy images, we can enforce image metadata verification. Signed-off-by: Mathias Kresin <dev@kresin.me>
Diffstat (limited to 'target/linux')
-rwxr-xr-xtarget/linux/ramips/base-files/lib/upgrade/platform.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/target/linux/ramips/base-files/lib/upgrade/platform.sh b/target/linux/ramips/base-files/lib/upgrade/platform.sh
index f14f847a5b..783bd3df74 100755
--- a/target/linux/ramips/base-files/lib/upgrade/platform.sh
+++ b/target/linux/ramips/base-files/lib/upgrade/platform.sh
@@ -3,6 +3,7 @@
#
PART_NAME=firmware
+REQUIRE_IMAGE_METADATA=1
platform_check_image() {
local board=$(board_name)