From 2a507f27d2ff0a05449079629af6453d58d1c4a3 Mon Sep 17 00:00:00 2001 From: FRNK-BK Date: Wed, 12 Nov 2014 20:22:59 +0100 Subject: [PATCH] Update hardware.rst More information on how to get correct image file naming. --- docs/dev/hardware.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/dev/hardware.rst b/docs/dev/hardware.rst index 694a8cd9..0ea71dc1 100644 --- a/docs/dev/hardware.rst +++ b/docs/dev/hardware.rst @@ -45,7 +45,7 @@ The final image name must be the same that is returned by the following command. lua -e 'print(require("platform_info").get_image_name())' -This is so the autoupdater can work. On targets which aren't supported by the autoupdater, +This is just for the autoupdater can work. The command has to be executed _on_ the target (eg. the hardware router with a flashed image). So you'll first have to build an image with a guessed name, and afterwards build a new, correctly named image. On targets which aren't supported by the autoupdater, ``require("platform_info").get_image_name()`` will just return ``nil`` and the final image name may be defined arbitrarily.