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>
This commit is contained in:
Daniel Golle 2017-01-07 14:46:03 +01:00
parent 870b7bee44
commit 69903c3ee6

View File

@ -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)