projects
/
openwrt
/
staging
/
jogo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8e40fbf
)
ramips: enforce image metadata verification
author
Mathias Kresin
<dev@kresin.me>
Thu, 29 Nov 2018 23:03:19 +0000
(
00:03
+0100)
committer
Mathias 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
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)