From 69903c3ee6843d6d65185dd15096471ac5fa6585 Mon Sep 17 00:00:00 2001 From: Daniel Golle Date: Sat, 7 Jan 2017 14:46:03 +0100 Subject: [PATCH] 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 --- target/linux/oxnas/base-files/lib/upgrade/platform.sh | 1 + 1 file changed, 1 insertion(+) 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) -- 2.30.2