projects
/
openwrt
/
staging
/
yousong.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
870b7be
)
oxnas: require image metadata
author
Daniel Golle
<
[email protected]
>
Sat, 7 Jan 2017 13:46:03 +0000
(14:46 +0100)
committer
Daniel Golle
<
[email protected]
>
Sat, 7 Jan 2017 13:47:04 +0000
(14:47 +0100)
Now that we generate images with metadata attached, require it in order
to prevent accidentally flashing the wrong image to a board.
Signed-off-by: Daniel Golle <
[email protected]
>
target/linux/oxnas/base-files/lib/upgrade/platform.sh
patch
|
blob
|
history
diff --git
a/target/linux/oxnas/base-files/lib/upgrade/platform.sh
b/target/linux/oxnas/base-files/lib/upgrade/platform.sh
index 006dd0d134612eaec16655993b26740da3444871..48c1dc3f847111b25e50ff4ba848907a6c61b4b1 100644
(file)
--- a/
target/linux/oxnas/base-files/lib/upgrade/platform.sh
+++ b/
target/linux/oxnas/base-files/lib/upgrade/platform.sh
@@
-5,6
+5,7
@@
. /lib/oxnas.sh
RAMFS_COPY_DATA=/lib/oxnas.sh
+REQUIRE_IMAGE_METADATA=1
platform_check_image() {
local board=$(oxnas_board_name)