Merge pull request #227 from FRNK-BK/patch-1

Update hardware.rst
This commit is contained in:
NeoRaider 2014-11-13 00:23:37 +01:00
commit 91ce22ba95

View File

@ -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())' 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 ``require("platform_info").get_image_name()`` will just return ``nil`` and the final image name
may be defined arbitrarily. may be defined arbitrarily.