projects
/
openwrt
/
staging
/
jow.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ecfa634
)
ramips: enforce image metadata verification
author
Mathias Kresin
<dev@kresin.me>
Thu, 29 Nov 2018 23:03:19 +0000
(
00:03
+0100)
committer
Jo-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
patch
|
blob
|
history
diff --git
a/target/linux/ramips/base-files/lib/upgrade/platform.sh
b/target/linux/ramips/base-files/lib/upgrade/platform.sh
index f14f847a5bae343400bee4597daae11084755367..783bd3df744d1def41c2f3f6bb96f6c02224e36e 100755
(executable)
--- 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)