From: Daniel Golle Date: Sat, 7 Jan 2017 13:46:03 +0000 (+0100) Subject: oxnas: require image metadata X-Git-Tag: v17.01.0-rc1~236 X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=69903c3ee6843d6d65185dd15096471ac5fa6585;p=openwrt%2Fstaging%2Fpepe2k.git 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 --- 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)