diff options
author | Daniel Golle <daniel@makrotopia.org> | 2017-01-07 14:46:03 +0100 |
---|---|---|
committer | Daniel Golle <daniel@makrotopia.org> | 2017-01-07 14:47:04 +0100 |
commit | 69903c3ee6843d6d65185dd15096471ac5fa6585 (patch) | |
tree | ad71a18f8b96dd8d132c507a24fea9e5f663a30e /target/linux/oxnas/base-files | |
parent | 870b7bee44492bf99796b94075b42e4213caf6a9 (diff) | |
download | upstream-69903c3ee6843d6d65185dd15096471ac5fa6585.tar.gz upstream-69903c3ee6843d6d65185dd15096471ac5fa6585.tar.bz2 upstream-69903c3ee6843d6d65185dd15096471ac5fa6585.zip |
oxnas: require image metadata
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 <daniel@makrotopia.org>
Diffstat (limited to 'target/linux/oxnas/base-files')
-rw-r--r-- | target/linux/oxnas/base-files/lib/upgrade/platform.sh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/target/linux/oxnas/base-files/lib/upgrade/platform.sh b/target/linux/oxnas/base-files/lib/upgrade/platform.sh index 006dd0d134..48c1dc3f84 100644 --- 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) |