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:
parent
870b7bee44
commit
69903c3ee6
@ -5,6 +5,7 @@
|
|||||||
. /lib/oxnas.sh
|
. /lib/oxnas.sh
|
||||||
|
|
||||||
RAMFS_COPY_DATA=/lib/oxnas.sh
|
RAMFS_COPY_DATA=/lib/oxnas.sh
|
||||||
|
REQUIRE_IMAGE_METADATA=1
|
||||||
|
|
||||||
platform_check_image() {
|
platform_check_image() {
|
||||||
local board=$(oxnas_board_name)
|
local board=$(oxnas_board_name)
|
||||||
|
Loading…
Reference in New Issue
Block a user